Skip to main content

Get Payout Intent

Retrieve the current status and details of a payout intent.

GEThttps://api.zenpayz.com/payment/api/v1/payout-intents/{intentId}
Bearer · API key

Request

Path Parameters

ParameterTypeDescription
intentId
REQUIRED
stringPayout intent ID

Headers

HeaderDescription
Authorization
REQUIRED
Bearer {api_key}
X-Signature
REQUIRED
HMAC-SHA256 signature
X-Timestamp
REQUIRED
ISO 8601 timestamp
X-Secret-Salt
REQUIRED
Secret salt for HMAC validation

Response

Success (200 OK)

{
"success": true,
"data": {
"intentId": "poi_xxxxx",
"status": "succeeded",
"amount": 10000,
"currency": "INR",
"beneficiaryName": "John Doe",
"payoutId": "payout_xxxxx",
"processingFee": 25,
"totalDebitedAmount": 10025,
"expiresAt": "2024-01-15T11:00:00.000Z",
"confirmedAt": "2024-01-15T10:35:00.000Z",
"completedAt": "2024-01-15T10:36:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z"
}
}

Examples

curl "https://api.zenpayz.com/payment/api/v1/payout-intents/poi_xxxxx" \
-H "Authorization: Bearer zp_test_xxxxx" \
-H "X-Timestamp: 2024-01-15T10:30:00.000Z" \
-H "X-Signature: a1b2c3d4e5f6..." \
-H "X-Secret-Salt: your_secret_salt"

Intent Statuses

StatusDescription
requires_confirmationWaiting for required fields to be submitted
processingPayout is being processed
succeededPayout completed successfully
failedPayout failed (see failureReason)
cancelledCancelled before confirmation
expiredNot confirmed within 30 minutes