Sandbox

The sandbox environment is not connected to either KYC or actual banking rails, which means that such processes are not carried out. Therefore, there are a set of sandbox-only endpoints that allow you to manually approve KYC and deposits. This will allow you to test your integration with full independence in development mode.

The following endpoints are available in our sandbox:

  • Approve KYC

  • Settle deposit

  • Settle withdrawal

Note: These endpoints are only available in the sandbox environment.

‚Äč

post
Approve KYC

https://api.sandbox.publicmint.io/identities/:id/sandbox-approve-kyc
This Sandbox endpoint allows you to approve the KYC process of a specific identity.
Request
Response
Request
Path Parameters
id
required
string
Id of the identity to be approved.
Response
200: OK
Cake successfully retrieved.
{
"message": "Identity sent to approval"
}

post
Settle Deposit

https://api.sandbox.publicmint.io/deposits/:id/sandbox-settle-deposit
This Sandbox endpoint allows you to manually settle a deposit.
Request
Response
Request
Path Parameters
id
required
string
Id of the deposit to be settled.
Response
200: OK
{
"message": "Deposit settled"
}

post
Settle Withdrawal

https://api.sandbox.publicmint.io/withdrawals/:id/sandbox-settle-withdrawal
This Sandbox endpoint allows you to settle a withdrawal manually.
Request
Response
Request
Path Parameters
id
required
string
Id of the withdrawal to be settled.
Response
200: OK
{
"message": "Withdrawal settled"
}