...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
//send POST to https://test.oppwa.com/v1/payments //Header -H "Authorization: Bearer OGE4Mjk0MTg0ZTczNjAxMjAxNGU3OGExN2E2YTE1YjB8ZjJGRUtacXRCUA==" amount=10.00 00 currency=BRL BRL paymentBrand=BOLETO paymentType=PA //API credentials entityId=8a8294174ae82ada014aedfd75aa1d79 //API credentials end //Dummy data, replace with your shopper`s details billing.street1=Av Brigadeiro Faria Lima 3729 billing.city=Sao Paulo billing.state=SP // State with 2 digits billing.postcode=04538905 //postcode with 8 numeric digits, no dashes, spaces or slashes. billing.country=BR //Country with 2 digits customer.givenName=Gustavo customer.surname=Santos customer.ip=1.1.1.1 customer.email=test@test.com customer.identificationDocType=TAXSTATEMENT // Type of the identification DOC. Needed as you need to send a CPF. customer.identificationDocId=70383053102 //CPF number of end customer //end of shopper details customParameters[CUSTOM_due_date]=21012018 //Due date of the Boleto. We recommend 3 days of the issuance date merchantTransactionId=1234 shopperResultUrl=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 // only required on staging. Please remove on production environment |
...