OXXO Pay

Created by the Mexican convenience store chain OXXO, OXXO Pay offers a practical way for consumers to pay online using cash at any OXXO store. By blending traditional cash payments with digital convenience, it’s become a popular choice in Mexico, especially in areas with limited banking access.

Payment method properties

MarketsMX
Processing currenciesMXN
Consumer currenciesMXN
Settlement currenciesMXN
Authentication methodsREDIRECT SCAN_CODE
Authentication timeout5 days
Minimum payment amount1.00 MXN
Maximum payment amount10,000.00 MXN
Payment instrumentPASSTHROUGH_WALLET
Recurring paymentsNo
Separate capturesNo
RefundFull - Partial - Multiple
Refund validity365 days
DisputesNo
Sandbox availabilityPPRO provided

Make an OXXO Pay payment

OXXO Pay payments follow our standardized REDIRECT and SCAN_CODE flows. Enabling you redirect the consumer to the provider or offer a seamless desktop experience by generating the CODE128 on your site.

To create an OXXO Pay payment, you'll need to provide the following data at minimum when calling our /v1/payment-charges API:

FieldDescription
paymentMethodOXXO_PAY
paymentDescriptorDescription of the payment.
amount.valueThe amount to be paid in the smallest units of the currency used.
amount.currencyMXN
consumer.countryThe country where the consumer is shopping.
consumer.emailThe consumer email address.
authenticationSettings: SCAN_CODE
settings.scanBy
You have the option to specify a custom expiry date by which the consumer must complete the OXXO Pay payment. Optional for the SCAN_CODE flow.

Note: OXXO Pay supports expiration periods defined in hours.
authenticationSettings: REDIRECT
settings.returnUrl
Add the url where the consumer should be redirected to after they complete the payment.

Note: For OXXO Pay payments the consumer is not returned to your site. The returnUrl parameter is therefore ignored.

Request

POST /v1/payment-charges

{
  "paymentMethod": "OXXO_PAY",
  "paymentDescriptor": "Description of payment",
  "amount": {
    "value": 1000,
    "currency": "MXN"
  },
  "consumer": {
    "country": "MX",
    "email": "[email protected]"
  },
  "authenticationSettings": [
    {
      "type": "REDIRECT",
      "settings": {
        "returnUrl": "https://www.webshop.com/order-results-page"
      }
    },
    {
      "type": "SCAN_CODE",
      "settings": {
        "scanBy": "2025-07-26T20:24:27Z"
      }
    }
  ]
}

Response

You'll receive our standard payment charge response (see potential responses in the API Reference) with the available authentication methods.

{
  "id": "charge_gXvSaNQAxEqOHOkbI4GJU",
  "paymentMethod": "OXXO_PAY",
  "paymentMedium": "ECOMMERCE",
  "scheduleType": "UNSCHEDULED",
  "instrumentId": "instr_hrqz59fMoKT4OERZvryxH",
  "currency": "MXN",
  "country": "MX",
  "paymentDescriptor": "Description of payment",
  "status": "AUTHENTICATION_PENDING",
  "consumer": {
    "email": "[email protected]",
    "country": "MX"
  },
  "authenticationMethods": [
    {
      "details": {
        "requestUrl": "https://redirection-target.ppro.com",
        "requestMethod": "GET"
      },
      "type": "REDIRECT"
    },
    {
      "details": {
        "codeType": "CODE128",
        "codeImage": "https://qr.ppro.com/payment/charge_Y3JVzvEaJpvG53xd2R2Zt/qr.png",
        "codePayload": "9101609997546970"
      },
      "type": "SCAN_CODE"
    }
  ],
  "authorizations": [
    {
      "id": "authz_RUY0Qv3dVANoZIkaBLHIU",
      "amount": 1000,
      "status": "AUTHENTICATION_PENDING",
      "createdAt": "2025-06-24T16:23:49.206Z",
      "updatedAt": "2025-06-24T16:23:49.206Z"
    }
  ],
  "captures": [],
  "refunds": [],
  "voids": [],
  "createdAt": "2025-06-24T16:23:48.993Z",
  "updatedAt": "2025-06-24T16:23:49.206Z",
  "_links": {
    "authorizations": {
      "href": "/v1/payment-charges/charge_gXvSaNQAxEqOHOkbI4GJU/authorizations"
    },
    "captures": {
      "href": "/v1/payment-charges/charge_gXvSaNQAxEqOHOkbI4GJU/captures"
    },
    "refunds": {
      "href": "/v1/payment-charges/charge_gXvSaNQAxEqOHOkbI4GJU/refunds"
    },
    "voids": {
      "href": "/v1/payment-charges/charge_gXvSaNQAxEqOHOkbI4GJU/voids"
    }
  }
}

Pick the desired authentication method

REDIRECT

  1. Redirect your consumer to the returned $.authenticationMethods[?(@.type == "REDIRECT")].details.requestUrl.
    For example, with the value of https://redirection-target.ppro.com/ using the returned $.authenticationMethods[?(@.type == "REDIRECT")].details.requestMethod HTTP method.
  2. The consumer will be presented with the payment slip (voucher) and instructions to complete the payment.

SCAN_CODE

  1. Render the code using one of the techniques available.
  2. The consumer will scan the code to complete the payment.

Handling the payment result

REDIRECT

  1. The consumer is not redirected back from the OXXO Pay digital form. Webhooks are triggered to notify you of the payment result.

SCAN_CODE

  1. You'll be notified of the payment outcome via Webhook.
  2. You can check the payment status at any time by making a GET /v1/payment-charges/{paymentChargeId}.
  3. Use the Status that you received to display the payment outcome to the consumer.

Refunds

OXXO Pay does not provide native support for refunds. However, PPRO offers a solution to address this limitation through a manual refund process available to its customers. This process involves collaborative efforts between PPRO and its customers, wherein consumer information is shared with PPRO. For anti money laundering reasons PPRO needs to verify the name of the account holder which will receive the refund, this is normally done by validating a bank statement supplied by the consumer. This should be sent to [email protected] when the refund is requested.

The refundDescriptor field serves the purpose of incorporating the consumer details, including their name and pertinent banking information such as CLABE (Clave Bancaria Estandarizada).

POST /v1/payment-charges/{paymentChargeId}/refunds

{
	"amount": 1000,
	"merchantRefundReference": "5c019979-0751-469e-96e0-b67f1d95c577",
	"refundDescriptor": "Name: John Smith Bank Name: BBVA México Account Number: 0121800012345678903"
}

Payment instrument

A PASSTHROUGH_WALLET instrument will be created for OXXO Pay, with no additional data provided.

Request

GET /v1/payment-instruments/{instrument-id}

Response

{
    "id": "instr_hrqz59fMoKT4OERZvryxH",
    "type": "PASSTHROUGH_WALLET"
}