Scenario simulation
This page describes how to simulate the execution of actions performed by external agents to test the bank slip settlement flow. These simulations are useful for homologation and integration testing.
Information
There is no return payload (response body) in these requests. They simulate external actions and return only the HTTP status.
1 - Payment notice simulation
Simulates a bank slip payment notice, changing its status to payment_notice.
ENDPOINT
/mock/bank_slip/payment_noticeMETHOD
POSTRequest Body
{
"bank_slip_key": "0d00b0e2-af11-472f-11f0-11f3330bae33",
"paid_amount": 12.0,
"payment_method": "cash",
"payment_type": "full_interbank"
}
Request Body Object
| Field | Type | Description | Max. Chars. |
|---|---|---|---|
| bank_slip_key* | string | Bank slip unique key | 36 |
| paid_amount | float | Payment amount. If not provided, uses the original bank slip value | - |
| payment_method | string | Payment method used | - |
| payment_type | string | Interbank payment type | - |