Reject pending payout

POST/transfer/payout/{id}/reject

Cancel a pending payout. Stridge stops retrying it and it transitions to expired through the normal flow (a payout.expired webhook fires). Only valid while the payout is pending.

Parameters

Path

  • idstringrequired

    Payout id.

Headers

  • Idempotency-Keystringoptional

    Optional. A unique key for this request, such as a UUID. A repeat of the same request with the same key within 24 hours is answered the first response again, refusals included, with Idempotency-Replay: true, and is not carried out twice. Learn more

    Show full description

    Keys are scoped to your workspace and the key's environment, so every API key of that environment shares them. The same key with a different body is answered 409 with Idempotency key reused with different request; a repeat that arrives while the first is still running waits for it, and is answered 408 with Request processing timeout if it does not finish in time.

Responses

The reject was requested.

  • successbooleanrequired
  • messagestring
Request
curl "https://api.stridge.com/v1/transfer/payout/string/reject" \
  -X POST \
  -H "X-API-Key: $STRIDGE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Set your api key as STRIDGE_API_KEY (sent as X-API-Key).

Response200
"success": true,
"message": "operation completed successfully"
}