Simulate a returned withdraw process (ONLY AVAILABLE FOR DEVELOPMENT ENVIRONMENT)
PUT/api/simulates/returned-withdrawals/:id
This endpoint is only meant for development environment. Simulate what the bank integration would return to us when someone returns a withdraw. The uuid is supposed to be the uuid of a PAID withdraw you want to simulate its return
Request
Path Parameters
id stringrequired
Withdrawal uuid
Example: 7da0c9af-215e-4625-b484-b8cfc87aaa09
Responses
- 200
- 400
- 401
- 403
- 404
Returned withdraw simulated
Withdraw invalid to simulate its refund
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Forbidden
Withdraw not found
Loading...