Payment, payout and refund events
Sent to the merchant’s endpoint. Signed with the header
PachaPay-Signature: t=<unix>,v1=<hex> where v1 = HMAC-SHA256(secret, t + "." + raw_body).
Reject events whose t is older than 5 minutes. The body is the full object, not just an id.
Delivery is at least once: handle duplicates by event.id. Retries use increasing delays;
respond with any 2xx to acknowledge.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Example
t=1760517000,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bdRequest Bodyrequired
Section titled “Request Bodyrequired”object
Unique per event. Use it to ignore duplicates.
Example
evt_0192f3e5object
Example
pay_0192f3a1expired is not final: a late payment moves it to succeeded.
partially_paid and overpaid apply to transfers. chargeback applies to cards.
Amount the merchant asked for.
Amount actually received so far.
Our fee on the received amount, same currency.
Received amount minus fee.
ISO 4217 code. Crypto assets are not accepted in this field.
ISO 3166-1 alpha-2. Target countries for the first release are CL, CO, EC, PE, MX and BR; availability per country depends on the agreement with the payment provider.
Hosted checkout page, set for the hosted flow.
Total refunded so far in minor units.
object
E.164 format.
object
Payer IP address, optional. Used for risk checks.
Opaque device identifier from the merchant, optional. Used for risk checks.
What the payer must do next. Show it or redirect the payer.
object
object
Reference the payer must include.
Up to 20 string keys, values up to 500 characters. Returned as is.
object
object
Example
pout_0192f3b7After succeeded the bank may still return the money, then the status becomes returned.
Our fee; reserved on top of the amount.
ISO 4217 code. Crypto assets are not accepted in this field.
ISO 3166-1 alpha-2. Target countries for the first release are CL, CO, EC, PE, MX and BR; availability per country depends on the agreement with the payment provider.
object
object
object
E.164 format.
object
object
object
object
object
object
Must be whitelisted; a new address becomes active after 24 hours.
Set when the payout executes a refund.
Up to 20 string keys, values up to 500 characters. Returned as is.
object
object
Example
ref_0192f3c2Set when the refund is executed as a payout.
ISO 4217 code. Crypto assets are not accepted in this field.
object
ISO 4217 code. Crypto assets are not accepted in this field.
Can be paid out. Never negative.
Waiting for settlement.
Held against chargebacks.
Reserved for payouts and refunds in progress.
What the merchant owes after chargebacks. Payouts and refunds are blocked while it is above zero.
Responses
Section titled “Responses”Acknowledged.