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

Request

  • Base URL
    https://marketplace-api.dlocal-sbox.com
  • URL
    https://marketplace-api.dlocal-sbox.com/v2/accounts/{account_id}/sandbox-tools/change-status
  • Auth
    API key in header X-Date and API key in header X-Login and API key in header X-Trans-Key and API key in header X-Version and API key in header User-Agent and API key in header Authorization

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.