Skip to main content
POST
/
charge
/
{chargeId}
/
simulate-payment
Simular pagamento PIX (Dev Mode)
curl --request POST \
  --url https://api.clickpay.app.br/charge/{chargeId}/simulate-payment
{
  "id": "charge_123456",
  "status": "COMPLETED",
  "paymentStatus": "PAID"
}

Headers

X-API-KEY
string

API Key for authentication (alternative to Bearer token)

Path Parameters

chargeId
string
required

ID da cobrança

Response

Pagamento simulado com sucesso

id
string
Example:

"charge_123456"

status
string
Example:

"COMPLETED"

paymentStatus
string
Example:

"PAID"