Execute SPEI® Out
This operation allows you to make a SPEI® transfer from a specific account.
HTTP Request
POST /spei/clients
Header Parameters
Header | Description |
---|---|
Authorization required | The Bearer token created in Get authorization Token |
Content-Type required | application/json |
Body Parameters
Parameter | Type | Pattern | Description |
---|---|---|---|
payment_concept required | string | 1-40 characters | Transfer payment concept |
beneficiary_account required | string | 10, 16 o 18 digits | Beneficiary's account, can be phone, card number or CLABE |
beneficiary_institution required | string | SPEI Institutions | Beneficiary's bank institution |
amount required | float | digits | Amount to transfer |
beneficiary_name required | string | 1-40 characters | Beneficiary's account name |
numeric_reference required | string | 1-7 digits | Numeric reference for payment. |
beneficiary_rfc_curp required | string | 'ND', 10-13 o 18 characters | RFC o CURP of the beneficiary. If you don´t know, use the string 'ND'. |
beneficiary_email required | string | Email of the beneficiary. |
note
*If card_number is sended as 16 digits, it must be sended ciphered and Base 64 Encoded. See Data encryption & encoding.
Example JSON Request:
{
"payment_concept": "Pago de Servicios",
"beneficiary_account": "014027000005555558",
"beneficiary_institution": "SANTANDER",
"amount": 1500.75,
"beneficiary_name": "Juan Pérez",
"numeric_reference": "1234567",
"beneficiary_rfc_curp": "JUAP800101HNEXXXA4",
"beneficiary_email": "[email protected]"
}
Example JSON Response:
{
"success": true,
"code": 0,
"message": "OK",
"data": {
"spei": {
"id": "123456",
"tracking_key": "ABM123456789",
"operation_date": "2021-01-01",
"reference_operation": "ab123456-1qq2-1234-tt5g-8873fe52bf54",
"amount": 3000.25,
"commission": 5.80,
"iva": 0.93
}
}
}