---
updatedAt: 2025-08-12T13:26:12.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# Authenticate

### Init 3DS Authentication.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Authenticate",
    "version": "1.0.0"
  },
  "paths": {
    "/iCredit3dsAPI/iCredit3dsAPIService.svc/Authenticate": {
      "post": {
        "summary": "Init 3DS Authentication.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Amount": {
                    "type": "number",
                    "format": "double",
                    "example": 1,
                    "description": "Transaction Amount.\n\n**Range:** 0.01 to 999999999.99\n**Default:** No\n",
                    "nullable": false
                  },
                  "CardExpiryDateMonth": {
                    "type": "string",
                    "example": "12",
                    "description": "Credit Card Expiry Date Month.\n\n**Format:** `MM`\n**Default:** No\n",
                    "nullable": false
                  },
                  "CardExpiryDateYear": {
                    "type": "string",
                    "example": "29",
                    "description": "Credit Card Expiry Date Year.\n\n**Format:** `YY`\n**Default:** No\n",
                    "nullable": false
                  },
                  "CardNumber": {
                    "type": "string",
                    "example": "4580000000000000",
                    "description": "Credit Card Number.\n\n**Length:** 10 to 16\n**Default:** No\n",
                    "nullable": false
                  },
                  "CreditboxToken": {
                    "type": "string",
                    "format": "uuid",
                    "example": "7cd7ca78-e67c-4909-94b7-22fd19e42ad4",
                    "description": "Credit Box Identifier.\n\n**Default:** No\n",
                    "nullable": false
                  },
                  "Currency": {
                    "type": "integer",
                    "example": 1,
                    "description": "Currency Code.\n\n**Options:** (1 = NIS 2 = USD 3 = EURO 4 = GBP 5 = AUD 6 = CAD 7 = CHF 8 = SEK 9 = DKK 10 = NOK)\n**Default:** Credit Box settings\n",
                    "nullable": true
                  }
                },
                "required": [
                  "Amount",
                  "CardExpiryDateMonth",
                  "CardExpiryDateYear",
                  "CardNumber",
                  "CreditboxToken"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Authentication Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "description": "The Response Error code (0 = Success)."
                    },
                    "client_message": {
                      "type": "string",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "description": "The Response Error Message."
                    },
                    "ChallengeUrl": {
                      "type": "string",
                      "description": "The URL to redirect the user to complete the 3DS Challenge."
                    },
                    "Status": {
                      "type": "string",
                      "description": "The Challenge Status (C = Challenge Required, N = Card Declined, Y = Challenge Passed)."
                    },
                    "ThreeDSServerTransID": {
                      "type": "string",
                      "description": "The 3DS Challenge Transaction ID."
                    },
                    "Token": {
                      "type": "string",
                      "description": "The Credit Card Token."
                    }
                  }
                },
                "example": {
                  "error_code": 0,
                  "client_message": "",
                  "debug_message": "",
                  "ChallengeUrl": "https://testpci.rivhit.co.il/iCredit3dsAPI/Verify3DSChallenge.aspx?challengeUrl=aHR0cHM6Ly9uZG0tcHJldi4zZHNzLW5vbi1wcm9kLmNsb3VkLm5ldGNldGVyYS5jb20vYWNzL2NoYWxsZW5nZQ==&challengeData=eyJtZXNzYWdlVHlwZSI6IkNSZXEiLCJ0aHJlZURTU2VydmVyVHJhbnNJRCI6IjgwM2E4NGMyLWZiNTMtNGNkYy1iMWMwLTEzOWYwZWQyZTgwYSIsImFjc1RyYW5zSUQiOiJhYjkxZmI4Ni00YjRhLTQzZGItYWIxMS1hYWE3MTY5MjNjZjciLCJjaGFsbGVuZ2VXaW5kb3dTaXplIjoiMDUiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMy4xIn0",
                  "Status": "C",
                  "ThreeDSServerTransID": "803a84c2-fb53-4cdc-b1c0-139f0ed2e80a",
                  "Token": "3f6e8753-9b7a-4eaf-82f2-2e5d2e5d8bf1"
                }
              }
            }
          },
          "400": {
            "description": "Request Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Request Error"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://testpci.rivhit.co.il"
    }
  ]
}
```