Skip to main content

Withdraw Fund

Withdraw API is invoked when the Customer creates a funds withdraw request to the own/beneficiary bank account for a certain amount. Withdraw Request can be tracked using the following callback URL.

Definition

URL
POST https://api-test.instarem.com:4803/api/v1/client/{clientId}/withdrawFund

Header Parameters:

ParameterDescriptionTypeRequired
authorizationAuthentication token.StringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected values could be application/json or multipart/form-data.StringYes

Path Parameters:

ParameterDescriptionTypeRequired
clientIdThis is the unique client ID generated by Nium.StringYes

Example Request:

curl --request post \\
--url "https://api-test.instarem.com:4803/api/v1/client/{clientId}/withdrawFund" \\
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: application/json' \\
--data '{
"clientBankId": "03bd58a0-f726-11ea-ab6c-414e561364fe",
"withdrawalAmount": "100",
"accountNumber": 107951243083,
"requestId": "1XkQkI34DA"
}'

Body Parameters:

ParameterDescriptionTypeRequired
clientBankIdUnique bank account id generated by Nium.StringYes
withdrawalAmountWithdrawal amount.StringYes
accountNumberCurrency wallet account number from where the withdraw funds was initiated.NumberYes
requestIdA unique request ID specified by the client in the request.StringYes

Response:

{
"withdrawFundId": "eb69f945-f507-4767-97da-03ef4fc55dce",
"requestId": "1XkQkI34DA",
"status": "AUTO_APPROVED",
"clientId": "593feb7c7c52bb2357b2df6c",
"referenceNumber": "FW000985",
"clientBankId": "6e6b5ad0-f75d-11ea-8ea0-b18b03157cec",
"accountNumber": 107951243083,
"withdrawalAmount": "100",
"paymentId": "DEVPY10262677",
"subStatus": "",
"statusDescription": ""
}

Response Parameters:

ParameterDescriptionType
withdrawFundIdUnique transaction ID generated by NIUM.String
requestIdA unique request ID specified by the client in the request.String
statusStatus of withdraw payment.String
clientIdThis is the unique client ID generated by Nium.String
referenceNumberUnique reference number of withdraw payment generated by Nium.String
clientBankIdUnique bank account id generated by Nium.String
accountNumberCurrency wallet account number from where the withdraw funds was initiated.Number
withdrawalAmountWithdrawal amount.String
paymentIdUnique paymentId of withdraw payment generated by Nium.String
subStatusWithdrawal payment request sub status.String
statusDescriptionWithdrawal payment request status description.String