Payouts
Get a paginated list of payouts with optional filtering
Provide your access token returned from /oauth/token prefixed with Bearer. Example: Authorization: Bearer YOUR_TOKEN
Number of items to return
Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.
Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.
Filter by payout status
Filter by customer ID
Filter by invoice ID
Filter by start date (RFC3339 format)
Filter by end date (RFC3339 format)
OK
Bad Request
GET /payouts HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"arrival_date": "text",
"created_at": "text",
"customer_id": "text",
"fees": [
{
"amount": 1,
"covered_by_customer": true,
"name": "text",
"type": "unspecified"
}
],
"id": "text",
"status": "unspecified",
"sub_total": 1,
"total": 1
}
],
"end_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH",
"has_next_page": true,
"has_previous_page": false,
"start_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH"
}Get payout details by ID
Provide your access token returned from /oauth/token prefixed with Bearer. Example: Authorization: Bearer YOUR_TOKEN
Payout ID
OK
Not Found
GET /payouts/{id} HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: YOUR_API_KEY
Accept: */*
{
"arrival_date": "text",
"created_at": "text",
"customer_id": "text",
"fees": [
{
"amount": 1,
"covered_by_customer": true,
"name": "text",
"type": "unspecified"
}
],
"id": "text",
"status": "unspecified",
"sub_total": 1,
"total": 1
}Get payout transactions by ID
Provide your access token returned from /oauth/token prefixed with Bearer. Example: Authorization: Bearer YOUR_TOKEN
Payout ID
OK
Not Found
GET /payouts/{id}/transactions HTTP/1.1
Host: public-api.alternativepayments.io
Authorization: YOUR_API_KEY
Accept: */*
{
"payout": {
"arrival_date": "text",
"created_at": "text",
"customer_id": "text",
"fees": [
{
"amount": 1,
"covered_by_customer": true,
"name": "text",
"type": "unspecified"
}
],
"id": "text",
"status": "unspecified",
"sub_total": 1,
"total": 1
},
"transactions": [
{
"description": "text",
"direction": "credit",
"failure_reason": "text",
"id": "text",
"method": "standard_ach",
"status": "created",
"sub_total": 1,
"total": 1
}
]
}Last updated
Was this helpful?
