curl --location -g --request POST '/subscriptions/v1/card/{{subscriptionId}}' \
--header 'Private-Merchant-Id: {{MX-Private-Merchant-Id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"language": "es",
"amount": {
"subtotalIva": 0,
"subtotalIva0": 1000,
"ice": 0,
"iva": 0,
"currency": "MXN"
},
"deferred": {
"months": 6
},
"metadata": {
"customerId": "123"
},
"contactDetails": {
"documentType": "CURP",
"documentNumber": "DORJ760623HNGDORJ7",
"email": "user@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "+523912345678"
},
"orderDetails": {
"siteDomain": "tuebook.com",
"shippingDetails": {
"name": "John Doe",
"phone": "+523912345678",
"address": "Eloy Alfaro 139 y Catalina Aldaz",
"city": "Querétaro",
"region": "centro",
"country": "México",
"zipCode": "170402"
},
"billingDetails": {
"name": "John Doe",
"phone": "+523912345678",
"address": "Eloy Alfaro 139 y Catalina Aldaz",
"city": "Querétaro",
"region": "Centro",
"country": "México",
"zipCode": "170402"
}
},
"productDetails": {
"product": [
{
"id": "198952AB",
"title": "eBook Digital Services",
"price": 6990000,
"sku": "10101042",
"quantity": 1
},
{
"id": "198953AB",
"title": "eBook Virtual Selling",
"price": 9990000,
"sku": "004834GQ",
"quantity": 1
}
]
},
"fullResponse": "v2"
}'{
"ticketNumber": "589587656792926017",
"details": {
"approvedTransactionAmount": 1000,
"requestAmount": 1000,
"responseCode": "000",
"approvalCode": "000000",
"syncMode": "online",
"merchantId": "20000000104111374000",
"processorId": "1000001041103567878316507278003",
"cardHolderName": "John Doe",
"binCard": "545195",
"merchantName": "Merchant MX",
"processorName": "Elavon Processor",
"processorBankName": "0032~BANCO INTERNACIONAL",
"transactionId": "447362853319028071",
"lastFourDigits": "5480",
"binInfo": {
"bank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
"type": "credit"
},
"paymentBrand": "MASTERCARD",
"subtotalIva": 0,
"subtotalIva0": 1000,
"currencyCode": "MXN",
"ivaValue": 0,
"cardCountry": "Ecuador",
"created": 1651238819,
"fullResponse": true,
"transactionStatus": "APPROVAL",
"transactionType": "SALE",
"acquirerBank": "BANJERCITO",
"rules": []
},
"transactionReference": "e7631a67-71cd-4124-8a36-13dd2fb86c6b"
}