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

Information

MethodPathFormatAuthentication
POST/api/v1.0/disbursement/{account_id}/check-feejsonOAuth 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
amountNumericMandatory-The transaction amount to check the fee for.50000
bank_swift_codeAlphanumericMandatory-The SWIFT code of the destination bank.BRINIDJA

Body Example

{
    "amount": 50000,
    "bank_swift_code": "BRINIDJA"
}

Response Details

Response Structure

FieldTypeMandatoryLengthDescriptionExample
statusNumericMandatory3HTTP Status Code.200
successBooleanMandatory-Indicates if the request was successful. true for 2xx, false otherwise.true
dataObjectConditional-Contains the response data if the request is successful.
> gross_amountStringMandatory-The initial transaction amount.“50000”
> transfer_feeStringMandatory-The fee for the transfer.“3000.00”
> net_amountStringMandatory-The amount after deducting the transfer fee“47000”
> currencyStringMandatory3The currency code“IDR”
> beneficiaryObjectMandatory-Details of the beneficiary bank.
>> full_nameStringMandatory-The full name of the beneficiary bank.“Bank Rakyat Indonesia”
>> short_nameStringMandatory-The short name or abbreviation of the beneficiary bank.“BRI”

Response Example

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

{
    "status": 200,
    "success": true,
    "data": {
        "gross_amount": "50000",
        "transfer_fee": "3000.00",
        "net_amount": "47000",
        "currency": "IDR",
        "beneficiary": {
            "full_name": "Bank Rakyat Indonesia",
            "short_name": "BRI"
        }
    }
}