Oxxo is a Mexican voucher-based payment method. Shoppers order items online, select Oxxo at checkout and receive a voucher. Then, they pay in cash for their purchase with that voucher at one of the over 13,000 OXXO stores in the country. Because many people in Mexico don't have a bank account or credit card, this is a popular eCommerce payment method.
Oxxo is a server to server only payment method to increase conversion
//send POST to [https://test.oppwa.com/v1/payments](https://test.oppwa.com/v1/payments)
//Header -H "Authorization: Bearer OGE4Mjk0MTg0ZTczNjAxMj1234E2YTE1YjB8ZjJGRUtacXRCUA=="
//API credentials
entityId=8a8294174ae8145684aedfd75aa1d79 //entityId without authentication"
//API credentials end
amount=10.00
paymentType=PA
currency=MXN
merchantTransactionId=123456
paymentBrand=OXXO
billing.country=MX
shopperResultUrl=[http://google.com](http://google.com/) //Although there is no re-direct back from the Boleto to your shop, our API requires this parameter to be present`
testMode=EXTERNAL
From the success response you will be able to extract the URL to where you re-direct the shopper to in order to display the Oxxo slip itself. Please note that the staging environment of the bank may show an error from time to time instead of the actual payment slip.
Successful generation of the Oxxo payment slip. The shopper can go and pay for it at any Oxxo store in Mexico.
000.000.000 000.100.112 (on staging)
RC
Successful payment of the Oxxo payment slip. The payment of the Oxxo slip is asynchronous and hence the confirmation will usually come in within 1-3 business days
000.000.000
Description
Format
Example
amount
Amount of the payment request. The dot is used as a decimal separator.
N13
0- 9{1,10}.0 -9{2}
1.00
currency
Currency Code according to ISO 4217 specifications of the payment request’s amount
A3 a-zA-Z{3}
MXN
paymentBrand
The brand specifies the method for the request
AN32 a-zA-Z0- 9_ {1,32}
BOLETO
paymentType
The payment type for the request
A2
PA
Authentication.userID
The userId for the entity. Required for a server-to-server request
AN32 a-zA-Z0- 9{32}
8a8294174ae82ada014 aedf7fb151d5f
Authentication.password
The password for the entity (channel). Required for a server-to-server request