Checkout (Brazil)
Use the Checkout API for a secure checkout via SmartFastPay. It auto-presents relevant payment types to shoppers, easing purchase with methods like Bank Transfer, PIX, and more.
POST /v1/transaction/checkout
Request
Parameters details
Parameter | Type | Required | Description |
---|---|---|---|
|
| yes | The customer id stored on your platform for future identification. |
|
| no | When the merchant needs to keep track of its various offices / branch, this field must be fill. |
|
| yes | Name of the customer who started the transaction. |
|
| yes | Email of the customer who started the transaction. |
|
| yes | Brazilian document (CPF) of the customer who started the transaction.
- Must be a valid CPF document;
|
|
| yes | The amount that the client specified when initiating the transaction showed IN DOLLARS (use dot instead of comma)
|
|
| no | The currency type that the amount will be credited. If USD is provided there will be a conversion from USD to BRL, if BRL is provided there will be no conversion. This parameter is optional, if currency isn't provided it will auto-select USD. Default: USD |
|
| yes | The URL in you site that our API will notify when the payment changes the status, the HTTP supported method should be HTTP
|
| |||
|
| yes | The id of the transaction generated in you platform. |
| |||
|
| no | By using this field, our checkout page will only list the payment methods entered here. |
| |||
|
| yes | Redirect URL that we will set to our "back to website" button after the transaction was completed |
|
| yes | Return type of the request, if HTML is provided the request will return the HTML of the page, if URL is provided the request will return a URL with that will redirect to the HTML page rendered. |
Response (URL)
Response (HTML)
Last updated