v1
latestOpenAPI 3.0.22026-07-26123510445.2 KBSimulator
Simulate Deposit Creation
You can use this endpoint to simulate deposits into your global account. This is only available in the sandbox environment.
post/v1/simulation/deposit
Headers
x-on-behalf-ofstring
Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.
x-idempotency-keystring uuid
A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.
Request body
Example request
{
"amount": 1000,
"receiver_account_number": "SG123456789012345678",
"sender_swift_code": "WELGBE22",
"sender_account_number": "GB41TCCL12345634178496",
"sender_country": "SG",
"sender_name": "UQPAY SG"
}Response
Deposit simulated successfully.
Example response
{
"deposit_id": "72970a7c-7921-431c-b95f-3438724ba16f",
"short_reference_id": "P220406-LLCVLRM",
"amount": "10000",
"deposit_status": "PENDING",
"create_time": "2024-03-21T17:17:32+08:00",
"complete_time": "2024-03-21T17:17:32+08:00",
"receiver_account_number": "12345678",
"sender": {
"sender_name": "UQPAY SG",
"sender_country": "SG",
"sender_account_number": "12345678",
"sender_swift_code": "WELGBE22"
}
}