Memento Payments
Search…
Fees

Calculate payment fee

Calculate the fee when sending money from one funding source to another.
Request
Response
POST /v1/fees/calculate
Attribute
Type
Description
amount
float
The amount being paid. required
source
FeeFundingSource
The source from which payment is made and the currency it's made in. required
destination
FeeFundingSource
The destination to which payment is made and the currency it should be received in. required

FeeFundingSource

Attribute
Type
Description
funding_source_id
uuid
The unique identifier of the funding source handling the payment. required
currency
string
Three-letter ISO currency code. Must be a supported currency. required
{
"amount": 10.5,
"source": {
"funding_source_id": "d4e07e85-bb7e-485d-b13a-cd6ee18ff599",
"currency": "EUR"
},
"destination": {
"funding_source_id": "9f5bbafc-cab6-47f4-8489-c8e007ab4288",
"currency": "USD"
}
}
200 OK
Copy link