v1
latestOpenAPI 3.0.02026-07-26167441.9 MBCreate Payout
post/payouts
Request body
Response
201
Example response
{
"id": "5223d101-0019-43d3-92cb-5c23391a7410",
"account_id": "f7c5fe77-721b-49c2-84d3-957748df3c2c",
"status": "SUCCEEDED",
"merchant_reference": "MR-Test-123",
"purpose": "EXPENSES",
"country": "BR",
"description": "Test",
"amount": {
"currency": "BRL",
"value": 100
},
"beneficiary": {
"merchant_beneficiary_id": "test_merchant_deposit_id",
"national_entity": "INDIVIDUAL",
"first_name": "John",
"last_name": "Doe",
"legal_name": "John Doe",
"email": "john.doe@email.com",
"country": "BR",
"date_of_birth": "1980-01-01",
"document": {
"document_type": "CPF",
"document_number": "123456789"
},
"phone": {
"country_code": "55",
"number": "1234567890"
},
"address": {
"address_line_1": "123 Main St",
"address_line_2": "Apt 1",
"country": "US",
"state": "NY",
"city": "New York",
"zip_code": "10001"
}
},
"created_at": "2024-05-27T15:12:22.712914616Z",
"updated_at": "2024-05-27T15:12:22.712916116Z",
"transactions": [
{
"id": "f0642eb0-31cb-44bc-9dc6-03d55ff4d664",
"status": "SUCCEEDED",
"type": "PAYOUT",
"response_code": "SUCCEEDED",
"description": "Test",
"amount": {
"currency": "BRL",
"value": 100
},
"withdrawal_method": {
"type": "ASTROPAY_PAYOUT",
"detail": {
"wallet": {
"code": "h15sg84U6rCl"
}
}
},
"provider_data": {
"id": "ASTROPAY",
"transaction_id": "32373",
"beneficiary_id": "test_merchant_deposit_id",
"status": "APPROVED",
"status_detail": "APPROVED",
"raw_response": "{\n \"cashout_id\" : 32373,\n \"merchant_cashout_id\" : \"f0642eb0-31cb-44bc-9dc6-03d55ff4d664\",\n \"status\" : \"APPROVED\",\n \"user_id\" : \"h15sg84U6rCl\"\n}"
},
"created_at": "2024-05-27T15:12:23.022588031Z",
"updated_at": "2024-05-27T15:12:23.022588361Z"
}
]
}