Response
After sending a request to the PagaSul payment platform, your system should be ready to accept a response which PagaSul returns synchronously, i.e. within the same HTTP session.
The response may contain:
- the data you passed in the initial request
- the payment ID the PagaSul payment platform assigned to your payment
- the status the payment is currently in — see Payment statuses and result codes
- the data you should use to redirect the customer so that they can complete the payment
Response headers:
| Header | Value | Description |
|---|---|---|
| Signature | calculated | Signature string. Verify it before trusting the body — see Signature generation. |
| Content-Type | application/json | Media type of the response body. |
For the full list of response fields, their types, and live request/response examples, see the API Reference — each endpoint documents its response there.