Card SPEI® Out
This method allows you to make a SPEI® transfer using a card.
HTTP Request
POST /spei/cards
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 caracteres | 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 caracteres | Beneficiary's RFC or CURP. If not known use 'ND' string |
beneficiary_email required | string | Beneficiary's email | |
pin required | string | 4-6 digits | Security PIN for operation |
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": "123456789012345678",
"beneficiary_institution": "40012",
"amount": 1500.00,
"beneficiary_name": "Juan Pérez",
"numeric_reference": "1234567",
"beneficiary_rfc_curp": "JUAP800101HDFNRN09",
"beneficiary_email": "[email protected]",
"pin": "1234"
}
Example JSON Response:
{
"success": true,
"code": 0,
"message": "Operación SPEI® Out exitosa.",
"data": {
"card": {
"card_id": "11111111-daa7-1234-aaaa-123123123ecd",
"card_type": "PHISYCAL",
"masked_card_number": "************1234",
"last_four": "1234"
},
"account": {
"account_id": "22222222-daa7-1234-aaaa-123123123ecd",
"rfc": "XAXX010101000",
"curp": "XEXX010101HNEXXXA4",
"primary_phone": "5555555555",
"mobile_phone": "5555555555",
"observations": ""
},
"spei": {
"id": "123456",
"tracking_key": "ABM123456789",
"operation_date": "2021-01-01",
"reference_operation": "ab123456-1qq2-1234-tt5g-8873fe52bf54",
"amount": 3000.25,
"commission": 5.80,
"commission_type": "FLAT",
"iva": 0.93
}
}
}