Metodos de pago
- Clientes
- Cuentas
- Tarjetas
Recaudo
- Cobros [Solicitud]
- Cargos [Debito]
- Planes
- Suscripciones
- Links de captura
- Llamadas de cobro
Dispersiones
- Dispersiones
- Balance
Webhooks
- Webhooks
- Asobancaria
- Flows
Fintech as a service
Cards
Actualizar tarjetas
Cards
Actualizar tarjetas
Actualiza una tarjeta existente.
PUT
issuing
/
cards
/
{card_id}
curl --request PUT \
--url https://api.onepay.la/v1/issuing/cards/{card_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-idempotency: <x-idempotency>' \
--data '{
"nickname": "<string>",
"status": "<string>"
}'
{
"id": "9e28925d-2495-48bb-8740-dc0f5454d738",
"status": "created",
"last_4": null,
"nickname": null,
"customer": {
"id": "9e28925c-7543-496f-abff-ed973137ab7c",
"first_name": "Carmela",
"last_name": "Rice",
"email": "",
"phone": "+17408135335",
"document_type": "CC",
"document_number": "554637",
"created_at": "2025-02-07T23:28:34.000000Z",
"is_test": true
},
"address": {
"line": "5630 Schulist Stravenue Suite 568",
"line_2": "20276 Jordi Villages Apt. 981",
"state": "Coleman Rice V",
"city": "Dakotamouth",
"country": "LS"
},
"wallet": {
"id": "0194e2be-5ef6-7080-8bb6-ab629957edde",
"balance": 0,
"label": "$0"
}
}
Headers
Token único para garantizar la idempotencia de la petición
Path
ID único de la tarjeta que deseas actualizar
Body
Apodo para la tarjeta.
Estado de la tarjeta.
{
"id": "9e28925d-2495-48bb-8740-dc0f5454d738",
"status": "created",
"last_4": null,
"nickname": null,
"customer": {
"id": "9e28925c-7543-496f-abff-ed973137ab7c",
"first_name": "Carmela",
"last_name": "Rice",
"email": "",
"phone": "+17408135335",
"document_type": "CC",
"document_number": "554637",
"created_at": "2025-02-07T23:28:34.000000Z",
"is_test": true
},
"address": {
"line": "5630 Schulist Stravenue Suite 568",
"line_2": "20276 Jordi Villages Apt. 981",
"state": "Coleman Rice V",
"city": "Dakotamouth",
"country": "LS"
},
"wallet": {
"id": "0194e2be-5ef6-7080-8bb6-ab629957edde",
"balance": 0,
"label": "$0"
}
}
Was this page helpful?
curl --request PUT \
--url https://api.onepay.la/v1/issuing/cards/{card_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-idempotency: <x-idempotency>' \
--data '{
"nickname": "<string>",
"status": "<string>"
}'
{
"id": "9e28925d-2495-48bb-8740-dc0f5454d738",
"status": "created",
"last_4": null,
"nickname": null,
"customer": {
"id": "9e28925c-7543-496f-abff-ed973137ab7c",
"first_name": "Carmela",
"last_name": "Rice",
"email": "",
"phone": "+17408135335",
"document_type": "CC",
"document_number": "554637",
"created_at": "2025-02-07T23:28:34.000000Z",
"is_test": true
},
"address": {
"line": "5630 Schulist Stravenue Suite 568",
"line_2": "20276 Jordi Villages Apt. 981",
"state": "Coleman Rice V",
"city": "Dakotamouth",
"country": "LS"
},
"wallet": {
"id": "0194e2be-5ef6-7080-8bb6-ab629957edde",
"balance": 0,
"label": "$0"
}
}