Bancoagrícola Logo
RefundsTokenization

Country:

POST

/v1/users/{userId}/instruments

Agregar instrumento de pago al usuario

Agrega un nuevo instrumento de pago a la cuenta de un usuario.

URL Parameters

userId

string
required

El identificador único del usuario

example

Add a regular credit/debit card to the user

instrument_id

string
required

Required. The ID of the instrument to add.

cardholder_name

string

Optional. Name on the card.

Response Examples

201

Instrument added successfully

400

Bad Request or instrument already added

404

User or instrument not found

500

Internal Server Error

Language

Login required to test API

Code Examples

cURL

curl -X POST "https://api.akua.la/v1/users/example_value/instruments" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}''