Register an instrument for a client
Changed onRegisters an instrument owned by the specified client or by one of its customers. The request body must include exactly one payment method: debit_card or virtual_clabe. Use type = RECEIVER for recipients. Use type = SENDER_RECEIVER only for instruments that can both send and receive.
Request
- Base URLhttps://apicore.stg.finch.lat
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Client identifier (UUID) under which the instrument is being registered. The actual owner will be: - The client itself, if customer_id is omitted in the request body. - The customer specified in customer_id, if provided.
Request body
Example request
{
"source_bank_id": "9d84b03a-28d1-4898-a69c-38824239e2b1",
"client_id": "c2d1d1e3-3340-4170-980e-e9269bbbc551",
"customer_id": "bb1e8fde-e68e-48e9-a483-d32153c752c2",
"type": "RECEIVER",
"rfc": "XAXX010101000",
"alias": "Supplier ABC",
"debit_card": {
"destination_bank_id": "3054ff18-32a0-478d-b9fe-b5261f9a6e1f",
"card_number": "5579072268574100",
"holder_name": "John Smith"
}
}Response
Instrument created
Example response
{
"id": "dd7f8d89-94dd-43ca-871b-720fde378b52",
"bankId": "d3435bd9-998d-4e8a-9067-6b71d5fd3ac7",
"clientId": "c2d1d1e3-3340-4170-980e-e9269bbbc551",
"ownerId": "c2d1d1e3-3340-4170-980e-e9269bbbc551",
"alias": "Instrumento base",
"type": "RECEIVER",
"audit": {
"createdAt": "2025-05-19 19:03:51.084659-06:00",
"updatedAt": "2025-05-19 19:03:51.084668-06:00"
},
"rfc": "XAXX010101000",
"customerId": "bb1e8fde-e68e-48e9-a483-d32153c752c2",
"instrumentDetail": {
"cardNumber": "5579072268574100",
"holderName": "John Smith"
}
}Changes
- breaking
for the
pathrequest parameterclientId, the format changed from no format touuid - breaking
the
//////request property's minLength was increased from0to18 - breaking
the
//////request property's minLength was increased from0to16 - breaking
added the pattern
^[0-9]{10,12}$to the request property////// - breaking
added the pattern
^[0-9]{16}$to the request property////// - breaking
added the pattern
^[0-9]{18}$to the request property////// - breaking
the
////////request property format changed from no format touuid - breaking
the
////////request property format changed from no format touuid - breaking
the
////////request property format changed from no format touuid - breaking
the
//////request property format changed from no format touuid - breaking
the
////////request property format changed from no format touuid - breaking
the
////////request property format changed from no format touuid - breaking
the
////////request property format changed from no format touuid - breaking
the
//////request property format changed from no format touuid - warning
the
////////request property's maxLength was set to13 - warning
the
//////request property's maxLength was set to18 - warning
the
//////request property's maxLength was set to40 - warning
the
////////request property's maxLength was set to13 - warning
the
//////request property's maxLength was set to16 - warning
the
//////request property's maxLength was set to40 - warning
added the new
SENDER_RECEIVERenum value to the////response property for the response status - info
api tag
Instrumentsadded - info
removed request discriminator
- info
added the new
SENDER_RECEIVERenum value to the request property//////// - info
added the new
SENDER_RECEIVERenum value to the request property//////// - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking