Singapay Home Page
Logo Icon
  1. Disbursement
  2. Check Beneficiary

Information

MethodPathFormatAuthentication
POST/api/v1.0/disbursements/check-beneficiaryjsonOAuth 2.0 with Access Token

Request Details

Headers Structure

FieldValueTypeMandatoryLengthDescriptionExample
X-PARTNER-IDapi_keyAlphanumericMandatoryAPI key obtained from the merchant dashboard.b3ed7d4b-a96c-6c08-b3c7-12c3124242d9
Acceptapplication/jsonAlphabeticMandatorySpecifies JSON as the expected response format.application/json
AuthorizationBearer {bearerToken}AlphanumericMandatoryBearer token obtained from the get access token endpoint.Bearer eyJ0eXAiOiJKV1{…}

Body Structure

FieldTypeMandatoryLengthDescriptionExample
bank_swift_codeAlphabeticMandatory8Bank swift codeBRINIDJA
bank_account_numberNumericMandatory-Bank account number374654353

Body Example

{
  "bank_swift_code": "BRINIDJA",
  "bank_account_number": "374654353"
}

Response Details

Response Structure

FieldTypeMandatoryLengthDescriptionExample
statusNumericMandatory3HTTP Status Code200
successBooleanMandatory12xx is true. 4xx-500 is false.true
dataArray ObjectConditional---
> statusAlphabeticMandatory-Description status. Like: valid or invalidvalid

Response Example

Success: Here’s an example of a successful response.

{
  "status": 200,
  "success": true,
  "data": {
    "status": "valid",
    "bank_name": "Bank BRI",
    "bank_account_number": "34574355",
    "bank_account_name": "Adnan Kasim",
    "bank_swift_code": "BRINIDJA",
    "bank_number_code": "002"
  }
}

Error: This is an example of an unsuccessful request.

{
    "status": 401,
    "success": false,
    "error": {
        "code": 401,
        "message": "Unauthorized partner, please sign in"
    }
}