Skip to main content
DELETE
/
v1.0
/
accounts
/
{id}
Delete an account
curl --request DELETE \
  --url https://singa-payment-gateway.test/api/v1.0/accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "data": {
    "message": "Account deleted successfully"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.singapay.id/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Merchant access token obtained from POST /v1.0/access-token/b2b. Send as Authorization: Bearer <token>.

Path Parameters

id
string
required

Account ULID.

Example:

"01HZ7N9K3R0F2QW3X4Y5Z6V7AB"

Response

Account deleted successfully.

Response envelope returned by DELETE /v1.0/accounts/{id}.

status
integer
required
Example:

200

success
boolean
required
Example:

true

data
object
required