Payout Method operations let receivers create and manage payout methods. Senders can generate quotes based on these receiver payout methods.
| Operation | Method | Description |
|---|---|---|
| Create payout method | POST | Creates a payout method. For example, LOCAL_RAILS. |
| Get payout methods | GET | Returns a list of payout methods created by a receiving partner. |
| Get payout method by ID | GET | Returns a payout method by its ID. |
| Update payout method | PUT | Updates a payout method. |
| Delete payout method | DELETE | Deletes a payout method. |
| Get all categories | GET | Returns all the payout method categories. |
Creates a payout method (for example, LOCAL_RAILS).
The Payout Method API lets receivers create and manage payout methods. Senders can generate quotes based on these receiver payout methods by enabling the flag enable_quote_per_payout_method in the body of the [Create quote collection] request.
Caution: The existing quote parameter is named payment_method while elsewhere it is payout_method.
Note: On-Demand Liquidity (ODL) receivers should set payment_method to the outlet_id or the string none (not an empty value) to keep funds at the destination exchange when paying out to a local rail.
Unique string used in the quote to identify the payout method.
Category of the payout method. Defaults to OTHER if not specified.
- Mock serverhttps://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payout_methods
- https://[domainPrefix].ripplexcurrent.com/v4https://[domainPrefix].ripplexcurrent.com/v4/config/payout_methods
curl -i -X POST \
https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/ripplenet/reference/openapi/config/payout_methods \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"payout_method": "LOCAL_RAILS",
"description": "local rails",
"is_default": true,
"payout_method_category": "BOOK_TRANSFER",
"estimated_time_to_credit": {
"time_value": 5,
"time_unit": "SECONDS"
}
}'Successfully created payout method.
Unique identifier of a payout method.
Category of the payout method. Defaults to OTHER if not specified.
{ "payout_method_id": "a6dbe002-ca7f-4ec7-89e4-f44a1971a0c0", "payout_method": "LOCAL_RAILS", "description": "local rails", "is_default": true, "payout_method_category": "BOOK_TRANSFER", "estimated_time_to_credit": { "time_value": 5, "time_unit": "SECONDS" } }