curl --request POST \
--url https://api-sandbox.circle.com/v1/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"destination": {
"type": "address_book",
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29"
},
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"type": "wallet",
"id": "12345",
"identities": [
{
"type": "individual",
"name": "Satoshi Nakamoto",
"addresses": [
{
"line1": "100 Money Street",
"city": "Boston",
"district": "MA",
"postalCode": "01234",
"country": "US",
"line2": "Suite 1"
}
]
}
]
},
"toAmount": {
"amount": "3.14",
"currency": "USD"
}
}
'{
"data": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"sourceWalletId": "53535335",
"destination": {
"type": "address_book",
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29"
},
"amount": {
"amount": "3.14",
"currency": "USD"
},
"toAmount": {
"amount": "3.14",
"currency": "USD"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"networkFees": {
"amount": "3.14",
"currency": "USD"
},
"status": "pending",
"errorCode": "insufficient_funds",
"riskEvaluation": {
"decision": "approved",
"reason": "3000"
},
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
}Create a crypto payout.
The following table includes the supported pairs of amount.currency and toAmount.currency for address book payouts:
| amount.currency | toAmount.currency |
|---|---|
| USD | USD |
| EUR | EUR |
curl --request POST \
--url https://api-sandbox.circle.com/v1/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"idempotencyKey": "ba943ff1-ca16-49b2-ba55-1057e70ca5c7",
"destination": {
"type": "address_book",
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29"
},
"amount": {
"amount": "3.14",
"currency": "USD"
},
"source": {
"type": "wallet",
"id": "12345",
"identities": [
{
"type": "individual",
"name": "Satoshi Nakamoto",
"addresses": [
{
"line1": "100 Money Street",
"city": "Boston",
"district": "MA",
"postalCode": "01234",
"country": "US",
"line2": "Suite 1"
}
]
}
]
},
"toAmount": {
"amount": "3.14",
"currency": "USD"
}
}
'{
"data": {
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"sourceWalletId": "53535335",
"destination": {
"type": "address_book",
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29"
},
"amount": {
"amount": "3.14",
"currency": "USD"
},
"toAmount": {
"amount": "3.14",
"currency": "USD"
},
"fees": {
"amount": "3.14",
"currency": "USD"
},
"networkFees": {
"amount": "3.14",
"currency": "USD"
},
"status": "pending",
"errorCode": "insufficient_funds",
"riskEvaluation": {
"decision": "approved",
"reason": "3000"
},
"createDate": "2020-04-10T02:13:30.000Z",
"updateDate": "2020-04-10T02:13:30.000Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
A source wallet location.
Show child attributes
wallet The id of the wallet.
"12345"
Show child attributes
The type of identity for the originator.
individual - A uniquely distinguishable individual.business - Any entity other than a natural person that can establish a permanent customer relationship with an affected entity or otherwise own property. This can include companies, foundations, anstalt, partnerships, associations and other relevantly similar entities.individual, business Full name of the identity.
1024"Satoshi Nakamoto"
Show child attributes
Line one of the street address.
1024"100 Money Street"
City portion of the address.
1024"Boston"
State / County / Province / Region portion of the address. If the country is US or Canada, then district is required and should use the two-letter code for the subdivision.
16"MA"
Postal / ZIP code of the address.
16"01234"
Country portion of the address. Formatted as a two-letter country code specified in ISO 3166-1 alpha-2.
2"US"
Line two of the street address.
1024"Suite 1"
Successfully created a payout.
Show child attributes
Unique system generated identifier for the entity.
"b8627ae8-732b-4d25-b947-1df8f4007a29"
The identifier of the source wallet used to fund a payout.
"53535335"
Status of the payout. Status pending indicates that the payout is in process; complete indicates it finished successfully; failed indicates it failed.
pending, complete, failed Indicates the failure reason of a payout. Only present for payouts in failed state. Possible values are [insufficient_funds, transaction_denied, transaction_failed, transaction_returned, bank_transaction_error, fiat_account_limit_exceeded, invalid_bank_account_number, invalid_ach_rtn, invalid_wire_rtn, vendor_inactive]'
insufficient_funds, transaction_denied, transaction_failed, transaction_returned, bank_transaction_error, fiat_account_limit_exceeded, invalid_bank_account_number, invalid_ach_rtn, invalid_wire_rtn, vendor_inactive Results of risk evaluation. Only present if the payment is denied by Circle's risk service.
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
ISO-8601 UTC date/time format.
"2020-04-10T02:13:30.000Z"
Was this page helpful?