Skip to main content
GET
/
api
/
withdrawals
/
:id
curl https://api.swiftpay.cx/api/withdrawals/wd_abc123 \
  -H "Authorization: Bearer mp_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "wd_abc123",
    "amountInCents": 5000,
    "status": "completed",
    "destinationType": "paypal",
    "destinationDetails": "{\"paypalEmail\":\"[email protected]\"}",
    "processorTransactionId": "PAY-123456789",
    "requestedAt": "2024-01-15T10:30:00Z",
    "completedAt": "2024-01-15T14:00:00Z"
  }
}

Get Withdrawal

Retrieves the details of an existing withdrawal request.

Request

Authorization
string
required
Bearer token with your API key
id
string
required
The unique identifier of the withdrawal (e.g., wd_abc123)

Response

success
boolean
Whether the request was successful
data
object
curl https://api.swiftpay.cx/api/withdrawals/wd_abc123 \
  -H "Authorization: Bearer mp_live_your_api_key"
{
  "success": true,
  "data": {
    "id": "wd_abc123",
    "amountInCents": 5000,
    "status": "completed",
    "destinationType": "paypal",
    "destinationDetails": "{\"paypalEmail\":\"[email protected]\"}",
    "processorTransactionId": "PAY-123456789",
    "requestedAt": "2024-01-15T10:30:00Z",
    "completedAt": "2024-01-15T14:00:00Z"
  }
}
Use webhooks to get notified when withdrawal status changes rather than polling this endpoint.