Skip to main content

Create Funding Entry

Create a funding entry.

Definition

URL
POST https://api-test.instarem.com:4803/api/v1/fund/create

Header Parameters

ParameterDescriptionTypeRequired
authorizationAuthentication TokenStringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected value is application/json.StringYes
X-CLIENT-IDUnique id for client generated by Nium, Required only in case of partner based model (E.g. 593feb7c7c52bb2357b2df6c).StringNo

Example Request

curl --request post \\
--url "https://api-test.instarem.com:4803/api/v1/fund/create" \\
--data {
"account_number": 101950173983,
"amount": 1000,
"instarem_deposit_account": "CIMB-2000496328-USD",
"payment_reference": "Funding for transactions in USD"
}
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: application/json' \\

Body Parameters

ParameterDescriptionTypeRequired
account_number12 digit account number as provided by Instarem.NumberYes
amountAmount for which the funding is being made.NumberYes
instarem_ deposit _ accountInstarem account used for depositing funds. (Format: BankName-AccountNumber-Currency )StringYes
payment_referenceDescription for the funding entryStringYes

Example Response

{
"account_number": "101950173983",
"amount": 1000,
"currency": "USD",
"gl_reference_number": "1527252825722",
"status": "PENDING",
"created_at": "2018-05-28T06:12:48.216+05:30",
"updated_at": "2018-05-28T06:12:48.216+05:30"
}

Response Parameters

ParameterDescriptionType
account_number12 digit account number as provided by Instarem.String
amountAmount for which the funding is being madeNumber
currencyCurrency in which the funding was doneString
gl_reference_numberLedger reference number generated by Instarem.String
statusCurrent status of the funding entryString
created_atDate and time (UTC) of fundingString
updated_atDate and time (UTC) of funding.String