Created
November 20, 2020 23:08
-
-
Save claudiokerekes/525c19d3b4d3bc3e1073788caca9d99a to your computer and use it in GitHub Desktop.
request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#request | |
{ | |
"token": "da23731e410d4725941564a2080b2432", | |
"amount": { | |
"subtotalIva": 0, | |
"subtotalIva0": 200000, | |
"ice": 0, | |
"iva": 0, | |
"currency": "COP" | |
}, | |
"metadata": { | |
"contractID": "157AB" | |
}, | |
"contactDetails": { | |
"documentType": "CC", | |
"documentNumber": "1009283738", | |
"email": "test@test.com", | |
"firstName": "Diego", | |
"lastName": "Cadena", | |
"phoneNumber": "+593988734644" | |
}, | |
"orderDetails": { | |
"siteDomain": "tuebook.com", | |
"shippingDetails": { | |
"name": "Diego Cadena", | |
"phone": "+593988734644", | |
"address": "Eloy Alfaro 139 y Catalina Aldaz", | |
"city": "Quito", | |
"region": "Pichincha", | |
"country": "Ecuador", | |
"zipCode": "170402" | |
}, | |
"billingDetails": { | |
"name": "Diego Cadena", | |
"phone": "+593988734644", | |
"address": "Eloy Alfaro 139 y Catalina Aldaz", | |
"city": "Quito", | |
"region": "Pichincha", | |
"country": "Ecuador", | |
"zipCode": "170402" | |
} | |
}, | |
"productDetails": { | |
"product": [ | |
{ | |
"id": "198952AB", | |
"title": "eBook Digital Services", | |
"price": 100000, | |
"sku": "10101042", | |
"quantity": 1 | |
}, | |
{ | |
"id": "198953AB", | |
"title": "eBook Virtual Selling", | |
"price": 100000, | |
"sku": "004834GQ", | |
"quantity": 1 | |
} | |
] | |
}, | |
"fullResponse": true | |
} | |
#response | |
{ | |
"code": "K220", | |
"message": "Monto de la transacción es diferente al monto de la venta inicial", | |
"details": { | |
"recap": "", | |
"approvedTransactionAmount": 0, | |
"ticketNumber": "", | |
"binCard": "438626", | |
"transactionId": "1605913436426967691", | |
"paymentBrand": "Visa", | |
"responseCode": "K220", | |
"responseText": "Monto de la transacción es diferente al monto de la venta inicial", | |
"merchantName": "Cucushop ", | |
"cardHolderName": "", | |
"lastFourDigitsOfCard": "7714", | |
"approvalCode": "", | |
"processorName": "NA", | |
"metadata": { | |
"contractID": "157AB" | |
} | |
}, | |
"transactionReference": "774a7cef-3110-4f8b-8e96-19b3df879400" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment