Payout service APIs
Payout service APIs (1.0.0)
https://docs.ripple.com/_mock/products/payments-direct/api-docs/payout-service/payout-service/
The quote type sender_quote vs receiver_quote
The three-letter base currency code (ISO 4217)
The three-letter payout currency code (ISO 4217)
The payout country two-letter ISO 3166-1 Alpha-2 code
The payout category
Code allocated to a receiving institution by the ISO 9362 Registration Authority as described in ISO 9362 'Banking - Banking telecommunication messages - Business identifier code (BIC)'
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/payout-service/payout-service/v1/quotes
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/payout-service/payout-service/v1/quotes?partner_name=tranglo"e_type=sender_quote%2Freceiver_quote&base_currency=EUR&payout_currency=AUD&payout_country=AT&payout_category=BANK+%2C+EWALLET+%2C+CASH_PICKUP+%2C+ATM&use_case=TREASURY+%2C+P2P+%2C+B2B+%2C+B2C&payout_method_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"e_amount=0&bic=BOFAUS3N&sender_end_to_end_id=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Returns an exchange rate matching the criteria
A list of quote elements
The unique payout partner id stored in payout service
The unique payout method id stored in payout service
The total amount calculated based on the payout amount with all the added fees
{ "quotes_dttm": "2019-08-24T14:15:22Z", "quote_elements": [ "Represents a single quote element that includes the details about quote like the resulting amount, fees and FX rate" ] }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/payout-service/payout-service/v1/quotes
- curl
- Python
- JavaScript
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-direct/api-docs/payout-service/payout-service/v1/quotes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"quote_amount": 0,
"quote_type": "SENDER_QUOTE",
"partner_name": "string",
"payout_country": "string",
"base_currency": "string",
"payout_currency": "string",
"payout_category": "BANK",
"use_case": "string",
"payout_method_id": "string",
"payer_id": "string",
"end_to_end_id": "string"
}'Returns an exchange rate matching the criteria
A list of quote elements
The unique payout partner id stored in payout service
The unique payout method id stored in payout service
The total amount calculated based on the payout amount with all the added fees
{ "quotes_dttm": "2019-08-24T14:15:22Z", "quote_elements": [ "Represents a single quote element that includes the details about quote like the resulting amount, fees and FX rate" ] }