| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunTest3D/SaveCard | Test 3D - Save Card Enrollment Step |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Request | body | BorgunTokenMultiRequest | No | |
| PAN | body | string | No | |
| ExpMonth | body | string | No | |
| ExpYear | body | string | No | |
| CVC | body | string | No | |
| PhoneVerificationNumber | body | string | No | |
| DeviceId | body | string | No | |
| TermURL | body | string | No | |
| ForcedPath | body | string | No | |
| ForcedJSONRequest | body | string | No | |
| SkipBorgunCall | body | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PAN | form | string | No | |
| ExpMonth | form | string | No | |
| ExpYear | form | string | No | |
| VerifyCard | form | BorgunVerifyCardRequest | No | |
| Metadata | form | BorgunMetadata | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CheckAmount | form | int | No | |
| Currency | form | string | No | |
| CVC | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Payload | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | form | int | No | |
| Message | form | string | No | |
| Success | form | bool | No | |
| ChallengeRequired | form | bool | No | |
| SessionId | form | string | No | |
| RedirectToACSForm | form | string | No | |
| RedirectToACSData | form | List<BorgunMPIEnrollmentACSField> | No | |
| EnrollmentStatus | form | string | No | |
| MpiToken | form | string | No | |
| ForcedPath | form | string | No | |
| ForcedJSONRequest | form | string | No | |
| JSONRequest | form | string | No | |
| JSONResponse | form | string | No | |
| RequestPath | form | string | No | |
| RequestSent | form | string | No | |
| RequestReceived | form | string | No | |
| Token | form | string | No | |
| VirtualCardNumber | form | string | No | |
| CardAlreadyExists | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| Values | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/SaveCard HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"pan":"String","expMonth":"String","expYear":"String","verifyCard":{"checkAmount":0,"currency":"String","cvc":"String"},"metadata":{"payload":"String"}},"pan":"String","expMonth":"String","expYear":"String","cvc":"String","phoneVerificationNumber":"String","deviceId":"String","termURL":"String","forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"statusCode":0,"message":"String","success":false,"challengeRequired":false,"sessionId":"String","redirectToACSForm":"String","redirectToACSData":[{"name":"String","values":"String"}],"enrollmentStatus":"String","mpiToken":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String","token":"String","virtualCardNumber":"String","cardAlreadyExists":false}