instamoney docs

Testing Disbursement

Testing

Before taking your integration live, you’ll want to test your integration thoroughly. If you need help after this please feel free to email us any questions or chat to us live anytime. In test mode, you can use the following information to similar various scenarios.

SCENARIO TRY THIS

Successful disbursement

Will complete payment and send a callback to your callback URL

PARAMETER VALUE

amount

90000

Bank account does not exist

Will return error for INVALID_DESTINATION

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Rizky

account_number

7654321

Switching network is experiencing downtime

Will return error for SWITCHING_NETWORK_ERROR

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Siti

account_number

12121212

Bank networks have rejected the transaction for an unknown reason

Will return error for UNKNOWN_BANK_NETWORK_ERROR

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Andri

account_number

987654321

Bank is undergoing unscheduled maintenance

Will return error for TEMPORARY_BANK_NETWORK_ERROR

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Yono

account_number

321321321

Transaction has been rejected by the destination bank without a clear error reason

Will return error for REJECTED_BY_BANK

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Budi

account_number

8787878

Transaction was rejected because of a fatal error

Will return error for TRANSFER_ERROR

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Adnin

account_number

1351357

Transaction failed because of a known temporary issue

Will return error for TEMPORARY_TRANSFER_ERROR

PARAMETER VALUE

bank_code

MANDIRI

account_holder_name

Sutiono

account_number

868686

Description not found

Will return error for API_VALIDATION_ERROR

Leave the description parameter empty

Not enough balance

Will return error for INSUFFICIENT_BALANCE

Initiate a disbursement greater than the balance you have

Invalid API key

Will return error for INVALID_API_KEY

Try a random API key

Bank Delays

If the banks are down, disbursements will be delayed until the banks come back online. See the Bank codes page for a chart of when banks in Indonesia go offline based on our uptime testing.

Questions?

Still have more questions? We're always happy to help however we can. Shoot us an email or chat to us in live chat.