- 1. Overview
- 2. Authentication
- 2.1 Introduction
- 2.2 Creating the Bearer Token
- 3. Requests & Responses
- 4. Getting Started
- 4.1 Pagination
- 4.2 Rate Limiting
- 4.3 Idempotency
- 4.4 External ID and Metadata
- 5. API
- Health
- Accounts
- Transfer
- Transactions
- Conversions
- Payouts
- Card Account
- Cards
- Digital Custody
- Countries
- Positions
- Occupations
- 6. Screenshot Illustration(api+image)
5.11 Create Payout
GET
https://access.sandbox.orzcash.com/v1/payouts
Request
Query Params
method
string
required
xid
string
required
xmetadata
integer
required
destination
integer
required
accountId
string
required
quoteId
string
optional
idempotencyKey
string
optional
Body Params application/json
xid
string
required
xmetadata
object
required
method
string
required
destination
object
required
accountId
string
required
quoteId
string
required
idempotencyKey
string
required
Example
{
"xid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"xmetadata": {},
"method": "BANK_SWIFT",
"quoteId":"quoteId",
"destination": {
"type": "BANK_ACCOUNT",
"accountNumber": 123456,
"routingNumber": 1234,
"country": "US",
"bankName": "Bank of America",
"bankAddress": "123 Main St, New York, NY 10001, USA",
"swiftCode": "BOFAUS3N",
"accountHolderName": "John Doe",
"accountHolderAddress": "456 Park Ave, New York, NY 10022, USA"
},
"accountId": "6a3176fe-7715-4fe0-a548-034912d7f800",
"idempotencyKey":"6a3176fe"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://access.sandbox.orzcash.com/v1/payouts?method=&xid&xmetadata&destination&accountId"eId=&idempotencyKey=' \
--header 'Content-Type: application/json' \
--data-raw '{
"xid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"xmetadata": {},
"method": "BANK_SWIFT",
"quoteId":"quoteId",
"destination": {
"type": "BANK_ACCOUNT",
"accountNumber": 123456,
"routingNumber": 1234,
"country": "US",
"bankName": "Bank of America",
"bankAddress": "123 Main St, New York, NY 10001, USA",
"swiftCode": "BOFAUS3N",
"accountHolderName": "John Doe",
"accountHolderAddress": "456 Park Ave, New York, NY 10022, USA"
},
"accountId": "6a3176fe-7715-4fe0-a548-034912d7f800",
"idempotencyKey":"6a3176fe"
}'
Responses
🟢200success
application/json
Body
nextPageToken
string
required
payouts
object
required
Example
{
"nextPageToken": "string",
"payouts": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"xid": "string",
"xmetadata": {},
"created": "2022-12-21T07:21:09.879Z",
"method": "BANK_SWIFT",
"destination": {
"type": "BANK_ACCOUNT",
"accountNumber": 123456,
"routingNumber": 1234,
"country": "US",
"bankName": "Bank of America",
"bankAddress": "123 Main St, New York, NY 10001, USA",
"swiftCode": "BOFAUS3N",
"accountHolderName": "John Doe",
"accountHolderAddress": "456 Park Ave, New York, NY 10022, USA"
},
"accountId": "6a3176fe-7715-4fe0-a548-034912d7f800",
"sourceCurrency": "string",
"sourceAmount": 0,
"destinationCurrency": "RMB",
"destinationAmount": 0,
"rate": 0,
"updated": "2022-12-21T07:21:09.879Z",
"status": "requested"
}
]
}
Modified at 2023-01-03 10:45:24