Testing with Sandbox
- First, create a Sandbox Smart Account (Remember that if sandbox, itemId is not necessary. Instead add name and taxNumber)
{
"name": "My Test Sandbox Account",
"taxNumber": "111111111-11",
"email": "[[email protected]](mailto:[email protected])",
"phoneNumber": "1111111111",
"isSandbox": true
}
SmartAccount created with sandbox:true
don't interact with the production payment institutions just without "Mock Bank".
- Create some
PaymentRequest
items, the sum of all requests including fees should sum up1333.33
For example:// #1 { "amount": 1001.33, "description": "Transferência #1", "recipientId": "207b7c20-758e-441f-8a5a-be339ced22f5" } // #2 { "amount": 330, "description": "Transferência #2", "recipientId": "207b7c20-758e-441f-8a5a-be339ced22f5" }
- Create the Bulk Payment using those requests and the sandbox account generated before.
The bulk payment returned will contain a URL param that will show the flow only for the sandbox payment provider.
https://pay.pluggy.ai/bulk/dfae651e-ab52-4a00-9a59-0a85458a8d09?include_sandbox=true
Updated 9 days ago