createDeposit

A new method which allows us to create a deposit amount for either an agency or direct customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Important

Allow to send multiple elements for mass creation.

Allow to send only one parameter:

in case of direct customer use customeremail or customerid ;

in case of agency use agencyemail or agencyid.

Request parameters

ParameterTypeDescription
customeremailE-mailCustomer email
customeridNumberCustomer ID (from getCustomerDataNew)
agencyemailE-mailAgency email
agencyidNumberAgency ID (from getAgency)
currencyString*Deposit Currency 3 letters code
amountNumber*Total amount to be added to Deposit account with the mentioned currency
additionalinfoStringRemark
paymentmethodStringType of payment (Cash, Cheque, Debit Card, Bank Transfer)

Response

This method will respond with a list of all available total deposit and it’s currency of the customer or agent.

ParameterTypeDescription
successStringtrue/false
depositBalanceElementCustomer/Agency Total Deposit details per Currency
customeremail/customeridElementCustomer E-mail or ID that was sent in request
agencyemail/agencyidElementAgency E-mail or ID that was sent in request
curencynameStringDeposit Currency 3 letters code
amountNumberTotal amount of Deposit with the mentioned currenc

Optional error messages:
No {field name} defined on segment {i}
mandatory fields misssing: {fields name}
You do not have permission to do this action
Company currency not found on segment {i}
Please send customer/agency credential on segment {i}
Please choose to add deposit to customer or agent on segment {i}
The amount parameter must be greater than zero on segment {i}
Customer not found on segment {i}
Agency not found on segment {i}
Unexpected error, please try again later
Body Params
json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers
string
required

ID provided to you by AeroCRS

string
required

Password provided to you by AeroCRS

Response

Language
LoadingLoading…
Response
Choose an example:
application/json