v1

latestOpenAPI 3.1.02026-07-245361280.3 KB
Account management

Simulate account status change (sandbox only)

This service can be used to simulate an account status change in sandbox.

post/v2/accounts/{account_id}/sandbox-tools/change-status

Path parameters

account_idstring required

User’s dLocal account ID.

Request body

account_idstring required

User’s dLocal account ID.

statusstring required

Account status. See details.

status_codenumber required

Account status code. See details.

status_detailstring required

Account status detail.

Example request

{
  "account_id": "d907f733-5e17-4470-b963-f2ac2c11a440",
  "status": "APPROVED",
  "status_code": 200,
  "status_detail": "approved"
}

Response

OK

account_idstring

User’s dLocal account ID.

statusstring

Account status. See details.

status_codenumber

Account status code. See details.

status_detailstring

Account status detail.

Example response

{
  "account_id": "d907f733-5e17-4470-b963-f2ac2c11a440",
  "status": "APPROVED",
  "status_code": 200,
  "status_detail": "approved"
}