Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunServices/Finish3DProcess | Test 3D |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Request | body | Borgun3DFinalRequest | 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 | |
Success | form | bool | No | |
HttpStatusCode | form | int | No | |
Message | 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunServices/Finish3DProcess HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
request:
{
transactionType: String,
amount: 0,
currency: String,
transactionDate: 0001-01-01,
orderId: String,
paymentMethod:
{
paymentType: String,
token: String
},
threeDSecure:
{
dataType: String,
mpiToken: String
}
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { response: { transactionId: String, transactionType: String, amount: 0, currency: String, transactionDate: 0001-01-01, 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 }, success: False, httpStatusCode: 0, message: String }