CFX Pay
    CFX Pay
    • Introduction
    • Integration Types
    • API Standards
    • Status Flow
    • Lists
    • SPEI Mexico
    • PIX Brazil
    • Basic Integration
      • checkout_create
        POST
    • Intermediary Integration
      • checkout_form
        POST
    • Hardcode integration
      • balance_merchant
        GET
      • payment_type
        GET
      • payin_create
        POST
      • payin_check
        GET
      • payout_create
        POST
      • payout_check
        GET
    • Notification
      • How it works

    SPEI Mexico

    SPEI Mexico#

    If you are just integrating SPEI Mexico, there are some useful things you should know that can make your integration process easier.
    All Integration Types, API Standards and Status Flow are valid for this payment type;
    The only KIND/PROVIDER you will use is: PROVIDER_04
    You should use only:
    CURRENCY: MXN
    COUNTRY: MX
    CATEGORY: SPEI
    None of the customer fields in Payin Create are required, so you don't need to submit them. But, if you want to send, follow the Document Number and Document Type rules for Mexico.
    For Payout Create, the customer mandatory fields are:
    first_name: First name of the payout beneficiary;
    account_type_code: See Account Type Code;
    3: Tarjeta de debito
    40: Clabe account
    account_number: Beneficiary's bank account number;
    account_bank_code: Bank code.

    Examples#

    Payin Create request body:
    {
        "payment_type_id": "ed3417b0b8d96bf8f6ba068d6914593e",
        "amount": "150.00",
        "description": "Payin SPEI",
        "tracking_id": "8da1dced-ab45-4301-9e34-ee96ca1b3579",
        "callback_url": "https://api.cfxpay.io/webhook_test"
    }
    Response body:
    {
        "server": "01",
        "code": 0,
        "message": "Success",
        "identifier": "1732481716552529913",
        "type": "LOG_INFO",
        "caller": "_gateway_payin_create",
        "caller_id": "1732481715361799367",
        "translation_message": "Sucesso",
        "gateway": [
            {
                "transaction_id": "1732481715442229662",
                "merchant_id": "cfxpaygateway_merchant",
                "tracking_id": "4a782432-57c8-47a3-b83a-56220e7f96e1",
                "api_transaction_id": "fdf339d9c5b40a27b37bf1f787906761",
                "payment_type_id": "ed3417b0b8d96bf8f6ba068d6914593e",
                "callback_url": "https://api.cfxpay.io/webhook_test",
                "source": "DEPOSIT",
                "origin": "PROVIDER_04",
                "status": "PENDING",
                "currency_symbol": "MXN",
                "amount": "30.00",
                "amount_fee": "0.00",
                "amount_final": "30.00",
                "checkout_url": "https://checkout-dev.cfxpay.io/#/invoice/4a782432",
                "checkout_info": {
                    "description": "SPEI",
                    "type": "QRCODE",
                    "code": "706180238708160979",
                    "amount": "30.00",
                    "symbol": "MXN",
                    "expire_utc": "1732524916",
                    "language_default": "SPANISH"
                }
            }
        ]
    }
    Use the checkout_info.code (Also know as CLABE) and checkout_info.amount to create your own screen.

    Payout Create request body:
    {
        "payment_type_id": "41c6f192bdc719516e28c952800f30c5",
        "description": "Payout SPEI",
        "amount": "150.00",
        "tracking_id": "9f5cd0c9-91d0-4d26-b887-6a43caf24750",
        "callback_url": "https://api.cfxpay.io/webhook_test",
        "customer": {
            "account_name": "SATOSHI NAKAMOTO",
    	"account_number": "988180200144225883",
    	"account_type_code": "40",
    	"account_bank_name": "Santander",
    	"account_bank_code": "40014"
        }
    }
    Response body:
    {
        "server": "01",
        "code": 0,
        "message": "Success",
        "identifier": "1732549805112046017",
        "type": "LOG_INFO",
        "caller": "_gateway_payout_create",
        "caller_id": "1732549803677002907",
        "translation_message": "Sucesso",
        "gateway": [
            {
                "transaction_id": "1732549803796742783",
                "merchant_id": "cfxpaygateway_merchant",
                "tracking_id": "55616f79-0bdd-42f2-8943-168ae7659004",
                "api_transaction_id": "914204e8ab5459ee3eb612828b22ba0b",
                "payment_type_id": "e43e1a6014dfb6466c431d27697bc865",
                "callback_url": "https://api.cfxpay.io/webhook_internal_test",
                "country": "MX",
                "source": "WITHDRAW",
                "origin": "PROVIDER_04",
                "status": "PENDING",
                "currency_symbol": "MXN",
                "amount": "5.00",
                "amount_fee": "0.00",
                "amount_final": "5.00",
                "api_fee_cost": "0.00",
                "api_amount_credit_debit": "5.00",
                "customer": {
                    "account_name": "SATOSHI NAKAMOTO",
                    "account_number": "014984700103098783",
                    "account_type_code": "40",
                    "account_bank_code": "40014"
                }
            }
        ]
    }

    List of Banks#

    CodeBank name
    2001BANXICO
    37006BANCOMEXT
    37009BANOBRAS
    37019BANJERCITO
    37135NAFIN
    37166BANSEFI
    37168HIPOTECARIA FED
    40002BANAMEX
    40012BBVA BANCOMER
    40014SANTANDER
    40021HSBC
    40030BAJIO
    40036INBURSA
    40042MIFEL
    40044SCOTIABANK
    40058BANREGIO
    40059INVEX
    40060BANSI
    40062AFIRME
    40072BANORTE
    40102ACCENDO BANCO
    40103AMERICAN EXPRES
    40106BANK OF AMERICA
    40108MUFG
    40110JP MORGAN
    40112BMONEX
    40113VE POR MAS
    40124DEUTSCHE
    40126CREDIT SUISSE
    40127AZTECA
    40128AUTOFIN
    40129BARCLAYS
    40130COMPARTAMOS
    40132MULTIVA BANCO
    40133ACTINVER
    40136INTERCAM BANCO
    40137BANCOPPEL
    40138ABC CAPITAL
    40140CONSUBANCO
    40141VOLKSWAGEN
    40143CIBANCO
    40145BBASE
    40147BANKAOOL
    40148PAGATODO
    40150INMOBILIARIO
    40151DONDE
    40152BANCREA
    40154BANCO FINTERRA
    40155ICBC
    40156SABADELL
    40157SHINHAN
    40158MIZUHO BANK
    40160BANCO S3
    90600MONEXCB
    90601GBM
    90602MASARI
    90605VALUE
    90606ESTRUCTURADORES
    90608VECTOR
    90613MULTIVA CBOLSA
    90616FINAMEX
    90617VALMEX
    90620PROFUTURO
    90630CB INTERCAM
    90631CI BOLSA
    90634FINCOMUN
    90636HDI SEGUROS
    90638AKALA
    90642REFORMA
    90646STP
    90648EVERCORE
    90652CREDICAPITAL
    90653KUSPIT
    90656UNAGRA
    90659ASP INTEGRA OPC
    90670LIBERTAD
    90677CAJA
    90680CRISTOBAL COLON
    90683CAJA TELEFONIST
    90684TRANSFER
    90685FONDO (FIRA)
    90686INVERCAP
    90689FOMPED
    90901CLS
    90902INDEVAL
    90903CoDi Valida
    91812BBVA BANCOMER2
    90814SANTANDER2
    91821HSBC2
    Modified at 2024-11-25 15:51:18
    Previous
    Lists
    Next
    PIX Brazil
    Built with