Get Quotation with Dynamic Spread and Fees

Get Quotation with Dynamic Spread and Fees

POST {{Environment_URL}}/vendors/v1/vendors/quotation/:amount/:currency

Before starting the process of creating a payment, it is necessary to obtain a quotation for the desired amount.

PS: To use these routes you need a specific permission from our Frente Corretora development team. If you want to use this route, first of all consider contact us in our support slack channel. That's a sensible route that modifies only your spread and fee values.

Key
Description
Required
Data Type
Example

amount

Operation value in cents

true

Integer

4200 This results in a Quotation for $42.00

currency

Operation Currency

true

String

USD

spread

Operation custom Spread. Spread is a +% to the operation value. Minimum Value: 0 Maximum Value: 20

false

Float

0.15

fee

Operation custom Fee. Fee is a fixed value added to the operation. Value in cents

false

Integer

250 This results in a Fee of $2.50

The response will have the quotation id, you must use it to create a new charge.

The spread and fee fields must be used at the request body.

Headers

Name
Value

Authorization

Bearer <token>

Path Params

Name
Type
Description
Value

amount

number

desired amount

5197

currency

string

currency

USD

Body

Name
Type
Description

fee

Number

Dynamic Fee

spread

Float

Dynamic Spread

Request

Response