Purchase update webhook.

Example payload Paypercut sends to your configured webhook URL when a purchase attempt reaches a terminal or actionable status. Paypercut retries delivery until your endpoint returns HTTP 200.

Body·
required
application/json
  • attempt
    Type: object ·
Responses
  • application/json
  • application/json
Request Example for post/v1/purchase/bnpl/update
curl /v1/purchase/bnpl/update \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "attempt": {
    "attempt_id": "",
    "purchase_id": "",
    "merchant_purchase_ref": "",
    "provider_purchase_ref": "",
    "redirect_url": "",
    "provider_name": "",
    "status": "ATTEMPT_STATUS_UNSPECIFIED",
    "status_reason": ""
  }
}'
{}