| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunTest3D/Finish3DProcess | Test 3D |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Request | body | Borgun3DFinalRequest | No | |
| ForcedPath | body | string | No | |
| ForcedJSONRequest | body | string | No | |
| SkipBorgunCall | body | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TransactionType | form | string | No | |
| Amount | form | int | No | |
| Currency | form | string | No | |
| TransactionDate | form | DateTime? | No | |
| OrderId | form | string | No | |
| PaymentMethod | form | Borgun3DFinalPaymentMethodInfo | No | |
| ThreeDSecure | form | Borgun3DFinal3DSecureInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PaymentType | form | string | No | |
| Token | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DataType | form | string | No | |
| MpiToken | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Response | form | BorgunFinal3DResponse | No | |
| StatusCode | form | int | No | |
| Message | 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 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TransactionId | form | string | No | |
| TransactionType | form | string | No | |
| Amount | form | int | No | |
| Currency | form | string | No | |
| TransactionDate | form | DateTime | No | |
| OorderId | form | string | No | |
| AuthCode | form | string | No | |
| ActionCode | form | string | No | |
| TransactionStatus | form | string | No | |
| PaymentMethod | form | BorgunPaymentMethodInfo | No | |
| ThreeDSecure | form | Borgun3DSecureInfo | No | |
| LifeCycleId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PaymentType | form | string | No | |
| PAN | form | string | No | |
| Token | form | string | No | |
| CardType | form | string | No | |
| IsDebit | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SecurityLevelInd | form | string | No | |
| Xid | 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/Finish3DProcess HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","orderId":"String","paymentMethod":{"paymentType":"String","token":"String"},"threeDSecure":{"dataType":"String","mpiToken":"String"}},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"response":{"transactionId":"String","transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","oorderId":"String","authCode":"String","actionCode":"String","transactionStatus":"String","paymentMethod":{"paymentType":"String","pan":"String","token":"String","cardType":"String","isDebit":"String"},"threeDSecure":{"securityLevelInd":"String","xid":"String"},"lifeCycleId":"String"},"statusCode":0,"message":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}