Authorization: Bearer ********************{
"terminal": {
"id": 24
},
"amount": "1.10",
"source": "Internet",
"level": 1,
"card": {
"name": "John Wick",
"number": 4000000000000051,
"exp": "05/30",
"cvv": "999",
"save": "Yes",
"address": {
"country": "United State of America",
"state": "CA",
"city": "Calabasas",
"street": "8320",
"zip": "85284"
}
}
}curl --location --request POST '/payment/sale' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"terminal": {
"id": 24
},
"amount": "1.10",
"source": "Internet",
"level": 1,
"card": {
"name": "John Wick",
"number": 4000000000000051,
"exp": "05/30",
"cvv": "999",
"save": "Yes",
"address": {
"country": "United State of America",
"state": "CA",
"city": "Calabasas",
"street": "8320",
"zip": "85284"
}
}
}'{
"id": 894,
"amount": "1.10",
"origin": null,
"type": "Auth",
"level": 1,
"authCode": "TAS183",
"parent": {
"id": null
},
"terminal": {
"id": 24
},
"threeds": {
"id": null
},
"card": {
"bin": 400000,
"name": "John Wick",
"number": 51,
"exp": "2030-05-31",
"verification": {
"cvv": "M",
"address": "Y"
},
"networkTransactionId": "000000000014910",
"token": "IidC1AkxAyyz0051"
},
"contact": {
"name": null,
"phone": null,
"email": null
},
"externalId": null,
"isRecurring": "No",
"split": null,
"refunded": false,
"captured": true,
"history": [
{
"id": 895,
"type": "Capture",
"amount": "1.10",
"createdOn": "2023-05-10 09:27:06"
}
],
"order": null,
"feeTransaction": null,
"batch": {
"id": null,
"number": null,
"batchedOn": null
},
"ip": {
"address": "104.234.53.183",
"isp": "Ipxo Limited",
"type": "hosting",
"location": {
"city": "New York",
"state": "NY",
"country": "US",
"zip": "10118"
},
"info": {
"isAnonymous": "Yes",
"isAnonymousVpn": "Yes",
"isPublicProxy": "No",
"isHostingProvider": "Yes",
"isTorExitNode": "No"
}
},
"status": {
"status": "Approved",
"reason": null
},
"updatedOn": "2023-05-10 09:27:07",
"createdOn": "2023-05-10 09:27:04"
}