Tarjetas
Cards
Guardar varias tarjetas de crédito/débito
Changed onMediante este endpoint se pueden almacenar varias tarjetas simultáneamente, las cuales podrán ser utilizadas posteriormente para realizar pagos mediante Webservice.
Si se indica el campo validate a true, la tarjeta será validada contra el servicio indicado en el campo service para comprobar si existe y tiene fondos en el momento de la validación. Algunos servicios requieren que el campo card_cvv sea indicado.
post/payment-method/card/batch
Request
- Base URLhttps://api.paylands.com/v1/sandbox
- URLhttps://api.paylands.com/v1/sandbox/payment-method/card/batch
- Authnone required
Parameters
#/paths/~1/get/parameters/0 (unresolved $ref)
Request body
Example request
{
"signature": "121149a0ba5361191d740fa898784a8b",
"cards": [
{
"card_holder": "John Doe",
"card_pan": "4111111111111111",
"card_expiry_month": "12",
"card_expiry_year": "19",
"customer_ext_id": "user",
"additional": "card12345",
"url_post": "https://www.some.url",
"validate": true,
"service": "4D1DA790-B361-4657-BFB7-E2988F4527A4",
"card_cvv": "123"
},
{
"card_holder": "Pepe",
"card_pan": "4918019160034602",
"card_expiry_month": "10",
"card_expiry_year": "23",
"customer_ext_id": "user2",
"additional": "Tarjeta principal",
"url_post": "https://www.some.url"
}
]
}Response
OK
Changes
- info
added the optional property
////to the response with the status
- info
- info
removed the
PAYLATERenum value from the////response property for the response status
- info