Create Payment Request
POST /payment-requests
Create a Payment Request
POST
https://api.finove.com.br/api/v1/merchant/payment-requests
Registers a payment info with our system and returns a URL that can be sent to the client to complete the payment or used within an iframe.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Access token received from Authentication API. ex. "Bearer your_access_token_here" |
Request Body
Name | Type | Description |
---|---|---|
installmentsCountMin | number | Minimum number of installments that customer can select. |
installmentsCountMax | number | Maximum number of installments that customer can select. |
customerTaxId | string | Cnpj of customer (ex. "27938392000190") |
currency | string | Code of currency for amount (ex. "BRL") |
amount | string | Amount of the purchase in cents (R$ 1.000,99 should be submitted as 100099) |
orderId | string | ID of order in your system (can be any string) |
orderDescription | string | Description of order as a string. If it's a list of items, you can separate the items with semi-colons (ex. "Product A; Product B; Product C;") |
meta | object | Any additional data you want stored with the payment. May contain any key/value pairs. Should be an object with only one level of nesting. (ex. { internal_id: 12345, ... }) |
merchantSubsidyType* | String | Payment request subsidy type: none, rate, amount or free |
merchantSubsidyRate | String | required if merchantSubsidyType is rate |
merchantSubsidyAmount | String | required if merchantSubsidyType is amount |
String |
Note: Payment Requests have an expiration specified by the expiresOn
attribute. Currently, the expiration is 7 days after the payment request is created. A customer must complete the payment request (by creating a payment to the merchant) on or before that date. If the payment request expires, a new payment request must be created. In some cases, our support team may be able to extend the expiration date manually, but we suggest factoring the expiration into your integration.
Last updated