MXN Notification Callbacks

Here you can find example callback for MXN deposit and withdrawal

MXN Deposit Pending Notification

{
    "account_id": 19,
    "order_id": "MXN0000001",
    "transaction_id":"019a9602-fac6-716f-8a4b-81e5668edc01",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 0,
    "amount_paid": 0,
    "status": "PENDING",
    "type": "DEPOSIT",
    "event": {
        "code": "BD1000",
        "message": "Waiting for credit!"
    },
    "transaction_specific": {
        "payer_name": "NA",
        "payer_rfc_curp": "NA",
        "clave_rastreo": "2024061040014BMOV0000405043180",
        "payer_clabe": "NA", // Field received only for payment method SPEI
        "payer_bank_code":"NA" // Field received only for payment method SPEI
    },
    "hash": "91CADD5098472B62FD7841914A330E24F8ADA6A0838F1A88583275AF4B793F27745A693BDC939C528E0B136F6CE979198FC659DFD4D7CE04684034005D0600A1"
}

MXN Deposit Success Notification

{
    "account_id": 19,
    "order_id": "7276d843-137f-47e5-bdf8-6da48e78b940",
    "transaction_id":"019a9602-fac6-716f-8a4b-81e5668edc01",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "DEPOSIT",
    "event": {
        "code": "BD1001",
        "message": "Deposit successful"
    },
    "transaction_specific": {
        "payer_name": "NA",
        "payer_rfc_curp": "NA",
        "clave_rastreo": "2024061040014BMOV0000405043180",
        "payer_clabe": "NA", // Field received only for payment method SPEI
        "payer_bank_code":"NA" // Field received only for payment method SPEI
    },
    "hash": "6CA1DEE35F819650740FEE9705DFD999C6E98903F370F650FFAA0D372D843D20546CF5530BB8E6E795498A4FC423286CA87E0827431CEEB439D1411AD1381A6E"
}

MXN DEPOSIT USER BASED CREDIT NOTIFICATION

{
    "account_id": 19,
    "order_id": "7276d843-137f-47e5-bdf8-6da48e78b940",
    "transaction_id":"019a9602-fac6-716f-8a4b-81e5668edc01",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "DEPOSIT",
    "event": {
        "code": "BD1001",
        "message": "Deposit successful"
    },
    "transaction_specific": {
				"merchant_user_reference":"MERCHANT-USER-REFERENCE-001",
        "payer_name": "NA",
        "payer_rfc_curp": "NA",
        "clave_rastreo": "2024061040014BMOV0000405043180",
        "payer_clabe": "NA", 
        "payer_bank_code":"NA"
    },
    "hash": "6CA1DEE35F819650740FEE9705DFD999C6E98903F370F650FFAA0D372D843D20546CF5530BB8E6E795498A4FC423286CA87E0827431CEEB439D1411AD1381A6E"
}

MXN Deposit Success Notification for Repeated [user paid more than once for a transaction]

// Notification will be sent in the below format if you opt to receive repeat payment transaction callback.
We are including 2 new parameters. 

is_repeat - which will can have either 0 or 1 as value.
repeat_on - Which is of type string and the value will have the original order_id


Please note :
1. these repeat transactions will have a auto generated order_id. So you will have to use the repeat_on value to map the payment to original order. 
2. Also this will be enabled only for your MXN account.

{
  "transaction_id": "17f9215f-3e4f-4a6c-9a0a-bbd3e3690919",
  "account_id": 6,
  "order_id": "41350bd3-096f-4a97-bd6d-3d6f5e55aca7_1",
  "currency": "MXN",
  "amount": 100,
  "amount_net": 100,
  "amount_paid": 100,
  "status": "SUCCESS",
  "type": "DEPOSIT",
  "event": {
    "code": "BD1001",
    "message": "Deposit successful"
  },
  "is_repeat": 1,
  "repeat_on": "41350bd3-096f-4a97-bd6d-3d6f5e55aca7",
  "transaction_specific": {
    "clave_rastreo": "NA",
    "payer_name": "NA",
    "payer_rfc_curp": "NA",
    "payer_clabe": "NA", // Field received only for payment method SPEI
    "payer_bank_code":"NA" // Field received only for payment method SPEI
  },
  "hash": "F8F09A61EF774E96005FF70917E1679649AD8E2716742925D25059B3BB97FF33715581DCC277E5239CBB397371803E4BF299E77A9673F498724B8DD131ED35E7"
}

MXN - Deposit Callback Grouped credits

If your account is set up to receive a deposit made of multiple bank credits, the callback includes the list of those credits. The deposit's amount_paid is the sum of them.

Two extra fields are added:

have_associated_transactions — true when the deposit has grouped credits.
associated_transactions — the list of credits, each with id, amount, and payment_reference.

{
    "transaction_id": "8a6d272a-b079-4e88-aa12-ba2a33dfa524",
    "account_id": 23,
    "order_id": "ORDER_ID",
    "currency": "MXN",
    "amount": 500,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "DEPOSIT",
    "event": {
        "code": "BD1002",
        "message": "Deposit successful"
    },
    "transaction_specific": {
        "clave_rastreo": "MBAN01002606120082553967",
        "payer_bank_code": "40012",
        "payer_clabe": "012760015450196337",
        "payer_name": "USER2",
        "payer_rfc_curp": "NA"
    },
    "have_associated_transactions": true,
    "associated_transactions": [
        {
            "id": "associated_transaction_id_1",
            "amount": 500,
            "payment_reference": "MBAN01002606120082553967"
        },
        {
            "id": "associated_transaction_id_2",
            "amount": 1000,
            "payment_reference": "NU3A5E63IQ9D8CK8T8D974RLLAI8"
        }
    ],
    "hash": "D8F04C8AEA1C002C38CCE31632BA8C7B32A2C4151F848D1C0ED4316B6093D311C83B1A7C78A477DE69327CB614E9CB7BA5BAA884B8ADE71C40F850CE39380FBA"
}

MXN Withdrawal Pending Notification

{
    "account_id": 2,
    "order_id": "MXNW0000001",
    "transaction_id":"019a9602-fac6-7973-a26a-5c475deea9da",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "PENDING",
    "event": {
        "code": "BW1002",
        "message": "Waiting to process payment!"
    },
    "type": "WITHDRAW",
    "transaction_specific": {
        "payee_name": "NA",
        "payee_clabe": "NA",
        "clave_rastreo" : "NA"
    },
    "hash": "D55A75BCCAA1CD695761E80F4D0A5BDF48EED2985309139D341F48FAFD2D7647B1D5E727F03C42E6DF4CEEB196E35886D4CAE65260C25B665C7E30B3FDE48E8C"
}

MXN Withdrawal Processing Notification

{
    "account_id": 19,
    "order_id": "MXNW0000001",
    "transaction_id":"019a9602-fac6-7973-a26a-5c475deea9da",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "PROCESSING",
    "type": "WITHDRAW",
    "event": {
        "code": "BW1003",
        "message": "Payout is being processed!"
    },
    "transaction_specific": {
        "payee_name": "NA",
        "payee_clabe": "NA",
        "clave_rastreo": "NA"
    },
    "hash": "D55A75BCCAA1CD695761E80F4D0A5BDF48EED2985309139D341F48FAFD2D7647B1D5E727F03C42E6DF4CEEB196E35886D4CAE65260C25B665C7E30B3FDE48E8C"
}

MXN Withdrawal Success Notification

{
    "account_id": 19,
    "order_id": "aea30f74-fb65-43f9-a937-d9e945e9a9c8",
    "transaction_id":"019a9602-fac6-7973-a26a-5c475deea9da",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "WITHDRAW",
    "event": {
        "code": "BW1004",
        "message": "Withdraw successful"
    },
    "transaction_specific": {
        "payee_name": "ANDRES GONZALEZ",
        "payee_clabe": "014580605830878041",
        "clave_rastreo": "61A99ECD71B91"
    },
    "hash": "EF52DABB8D2A1896BFF218EF42C7CBD8FA469F8B47B4DD58A1285ACDEC436AC499E085C5F255903A1D96775F06BB9189BBE15832D6C2933E8A87A3E6CFB76812"
}

MXN Withdrawal Failed Notification

{
    "account_id": 19,
    "order_id": "MXNW0000001",
    "transaction_id":"019a9602-fac6-7973-a26a-5c475deea9da",
    "currency": "MXN",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "FAILED",
    "type": "WITHDRAW",
    "event": {
        "code": "BT1008",
        "message": "Transaction has been failed!"
    },
    "transaction_specific": {
        "payee_name": "NA",
        "payee_clabe": "NA",
        "clave_rastreo": "NA"
    },
    "hash": "D55A75BCCAA1CD695761E80F4D0A5BDF48EED2985309139D341F48FAFD2D7647B1D5E727F03C42E6DF4CEEB196E35886D4CAE65260C25B665C7E30B3FDE48E8C"
}