Payouts
Correct a returned payout
Changed onRaises a CORRECTION against a payout whose leg came back RETURNED.
The original failed leg is preserved and a corrective leg is issued to the destination you supply. The single-writer rule means the original and the correction are never live at two providers at once.
For a payout that failed without returning, use /reprocess instead.
post/v1/payouts/fiat/{payoutId}/correction
Request
- Base URLhttps://api.sandbox.alfredpay.io
- URLhttps://api.sandbox.alfredpay.io/v1/payouts/fiat/{payoutId}/correction
- Auth
- HTTP bearer
- or API key in header api-key and API key in header api-secret
Headers
Idempotency-Keystring uuid required
Required on every state-changing POST, simulators included; the only exempt POST is …/verifications/preflight. Replay (same key, same body) returns the original response with Idempotent-Replayed: true; same key with a different body → 409 idempotency_conflict. Keys are UUIDs, scoped to the API key, retained for 24 hours.
Request body
Response
Corrective payout created
Example response
{
"amount": {
"value": "10000.00"
}
}Changes
- info
endpoint added
- info