Skip to main content
GET
/
payouts
/
{id}
Get payout
curl --request GET \
  --url https://api.affonso.io/v1/payouts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "affiliate_id": "<string>",
    "affiliate_name": "<string>",
    "affiliate_email": "<string>",
    "amount": 123,
    "currency": "<string>",
    "status": "pending",
    "payment_method": "<string>",
    "payment_reference": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "processed_at": "2023-11-07T05:31:56Z",
    "transactions": [
      {
        "id": "<string>",
        "amount": 123,
        "commission": {
          "id": "<string>",
          "amount": 123,
          "commission_amount": 123,
          "created_at": "2023-11-07T05:31:56Z"
        },
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix with 'sk_live_' for production or 'sk_dev_' for development.

Path Parameters

id
string
required

Response

Payout details

success
boolean
data
object