Skip to main content
POST
/
v1
/
charges
/
{id}
/
resend-webhook
Resend webhook for a test charge (sandbox)
curl --request POST \
  --url https://api-global.fastpaybrasil.com/v1/charges/{id}/resend-webhook \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "paid"
}
'
{
  "statusCode": 422,
  "message": "SubMerchant is not active",
  "error": "Unprocessable Entity"
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.

Path Parameters

id
string
required

Test charge ID

Example:

"2vorkDcXyvzifL63YX09S9VqcnI"

Body

application/json
status
enum<string>
required

Simulated charge status to use in the webhook payload

Available options:
paid,
pending,
refused,
failed,
refunded,
in_analysis,
authentication_required
Example:

"paid"

Response

Webhook resent successfully