Check-in (Pre-Autorizacion)
La pre-autorizacion retendra en dinero de la tarjeta de un cliente hasta que se haga una post-autorizacion donde se cobrara este saldo retenido o cancelacion donde se libera el saldo pre-autorizado. El tiempo maximo de una pre-autorizacion sin post-autorizacion es de 5 dias habiles en Visa y Master Card en Amex de 7 dias habiles. si no se ejecuta una post-autorizacion a estos saldos retenidos de el saldo se libera automaticamente por la entidad bancaria.
post/v3.5/charges
Request
- Base URLhttps://gateway-154.netpaydev.com/gateway-ecommerce
- URLhttps://gateway-154.netpaydev.com/gateway-ecommerce/v3.5/charges
- Authnone required
Headers
Authorizationstring required
Secretkey Sandbox
Request body
Response
200
Example response
{
"source": "token_jOtjrZBExCqcQNAimSmcktrWdxDydCGVwuVaRUQu",
"amount": 100,
"description": "Cargo de prueba",
"status": "chargeable",
"transactionTokenId": "8df10d3e-8457-4ced-8370-9824fe8fa863",
"redirect3dsUri": "https://netpay.mx",
"paymentMethod": "card",
"currency": "MXN",
"createdAt": "2021-11-24T22:21:12.649+0000",
"ship": {
"city": "Monterrey",
"country": "MX",
"firstName": "Jill",
"lastName": "Doe",
"phoneNumber": "0987654321",
"postalCode": "66478",
"state": "Nuevo Leon",
"street1": "direccion",
"street2": "colonia",
"shippingMethod": "flatrate_flatrate"
},
"instegrationsdk": "Checkin - Checkout",
"integrationSdkVersion": "1",
"transactionType": "PreAuth",
"paymentSource": {
"card": {
"token": "token_jOtjrZBExCqcQNAimSmcktrWdxDydCGVwuVaRUQu",
"expYear": "22",
"expMonth": "02",
"lastFourDigits": "0002",
"cardHolderName": "hector temich escobedo",
"brand": "visa",
"deviceFingerPrint": "hdyAWr63jfvf0nnfvyen",
"ipAddress": "254.254.254.1",
"bank": "Test bank",
"type": "debit",
"country": "unknown",
"scheme": "unknown",
"cardPrefix": "400000"
},
"source": "token_jOtjrZBExCqcQNAimSmcktrWdxDydCGVwuVaRUQu",
"type": "card"
},
"billing": {
"firstName": "Felipe",
"lastName": "Castillo",
"email": "accept@netpay.com.mx",
"phone": "8333527265",
"ipAddress": "254.254.254.1",
"merchantReferenceCode": "14500056",
"address": {
"city": "monterrey",
"country": "MX",
"postalCode": "66478",
"state": "NL",
"street1": "Casa Dorada 331",
"street2": "Mision de Casa Blanca"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.