POST api/Topup/AddBankCardTopupv2
Request Information
URI Parameters
None.
Body Parameters
BankCardTopupViewModelName | Description | Type | Additional information |
---|---|---|---|
BankCardProcessID | globally unique identifier |
None. |
|
CheckoutToken | string |
None. |
|
CurrencyCountryID | string |
None. |
|
UnloadFeeTransactionId | globally unique identifier |
None. |
|
ID | globally unique identifier |
None. |
|
UserID | globally unique identifier |
None. |
|
Amount | decimal number |
None. |
|
AdditionalAmount | decimal number |
None. |
|
DateProcessed | date |
None. |
|
SourcePaymentID | integer |
None. |
|
Description | string |
None. |
|
TransactionID | string |
None. |
|
DateCreated | date |
None. |
|
LoadAmount | decimal number |
None. |
|
LoadAdditionalAmount | decimal number |
None. |
|
LoadCurrencyCountryID | string |
None. |
|
LoadTransactionID | string |
None. |
|
ConversionRate | decimal number |
None. |
|
LoadPercentage | decimal number |
None. |
|
BankCardTopupID | globally unique identifier |
None. |
|
BankCardID | globally unique identifier |
None. |
|
isFirst | boolean |
None. |
|
SponsorProductId | globally unique identifier |
None. |
|
PaymentGateway | integer |
None. |
|
PaytabResponseCode | string |
None. |
|
SelectedAccountNo | string |
None. |
|
SelectedAccountId | string |
None. |
|
SelectedEntityId | string |
None. |
|
BankiomAccount | string |
None. |
|
SelectedAccount | LeanPaymentAccount |
None. |
|
OrderId | string |
None. |
|
Platform | string |
None. |
|
TopupStatusTypeID | integer |
None. |
|
AskAFriendPaymentLink | string |
None. |
|
FeeTypeCode | string |
None. |
|
FeeId | globally unique identifier |
None. |
|
FeeCalculationType | FeeCalculationType |
None. |
|
LoadedInCard | decimal number |
None. |
|
LoadedInCardAED | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "BankCardProcessID": "669ccf94-e370-4cf0-a10f-5914303c536c", "CheckoutToken": "sample string 2", "CurrencyCountryID": "sample string 3", "UnloadFeeTransactionId": "2347c420-55a4-4517-9deb-672ec7d00c67", "ID": "bd0f3ef8-6ede-4f17-8cf4-8df7dce26531", "UserID": "efcdd069-4300-479e-b7ae-8d0579d15878", "Amount": 6.1, "AdditionalAmount": 7.1, "DateProcessed": "2023-09-04T05:00:49.2129027+00:00", "SourcePaymentID": 8, "Description": "sample string 9", "TransactionID": "sample string 10", "DateCreated": "2023-09-04T05:00:49.2129027+00:00", "LoadAmount": 12.1, "LoadAdditionalAmount": 13.1, "LoadCurrencyCountryID": "sample string 14", "LoadTransactionID": "sample string 15", "ConversionRate": 16.1, "LoadPercentage": 17.1, "BankCardTopupID": "001c7c08-4558-49c7-abe4-c35681fbf4d3", "BankCardID": "7e24d3ad-6655-4e6b-bd5f-ae9301f05c8e", "isFirst": true, "SponsorProductId": "43774cb3-129c-4256-8f89-ddb5a410d0a3", "PaymentGateway": 20, "PaytabResponseCode": "sample string 21", "SelectedAccountNo": "sample string 22", "SelectedAccountId": "sample string 23", "SelectedEntityId": "sample string 24", "BankiomAccount": "sample string 25", "SelectedAccount": { "id": "sample string 1", "account_id": "sample string 2", "account_name": "sample string 3", "account_number": "sample string 4", "iban": "sample string 5", "balance": 6.1, "currency": "sample string 7", "balance_last_updated": "2023-09-04T05:00:49.2129027+00:00" }, "OrderId": "sample string 26", "Platform": "sample string 27", "TopupStatusTypeID": 28, "AskAFriendPaymentLink": "sample string 29", "FeeTypeCode": "sample string 30", "FeeId": "6050da7c-6b41-49f0-9d00-aa27da48739c", "FeeCalculationType": 0, "LoadedInCard": 1.1, "LoadedInCardAED": 1.1 }
application/xml, text/xml
Sample:
<BankCardTopupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <AdditionalAmount>7.1</AdditionalAmount> <Amount>6.1</Amount> <AskAFriendPaymentLink>sample string 29</AskAFriendPaymentLink> <BankCardID>7e24d3ad-6655-4e6b-bd5f-ae9301f05c8e</BankCardID> <BankCardProcessID>669ccf94-e370-4cf0-a10f-5914303c536c</BankCardProcessID> <BankCardTopupID>001c7c08-4558-49c7-abe4-c35681fbf4d3</BankCardTopupID> <BankiomAccount>sample string 25</BankiomAccount> <CheckoutToken>sample string 2</CheckoutToken> <ConversionRate>16.1</ConversionRate> <CurrencyCountryID>sample string 3</CurrencyCountryID> <DateCreated>2023-09-04T05:00:49.2129027+00:00</DateCreated> <DateProcessed>2023-09-04T05:00:49.2129027+00:00</DateProcessed> <Description>sample string 9</Description> <FeeCalculationType>Default</FeeCalculationType> <FeeId>6050da7c-6b41-49f0-9d00-aa27da48739c</FeeId> <FeeTypeCode>sample string 30</FeeTypeCode> <ID>bd0f3ef8-6ede-4f17-8cf4-8df7dce26531</ID> <LoadAdditionalAmount>13.1</LoadAdditionalAmount> <LoadAmount>12.1</LoadAmount> <LoadCurrencyCountryID>sample string 14</LoadCurrencyCountryID> <LoadPercentage>17.1</LoadPercentage> <LoadTransactionID>sample string 15</LoadTransactionID> <LoadedInCard>1.1</LoadedInCard> <LoadedInCardAED>1.1</LoadedInCardAED> <OrderId>sample string 26</OrderId> <PaymentGateway>20</PaymentGateway> <PaytabResponseCode>sample string 21</PaytabResponseCode> <Platform>sample string 27</Platform> <SelectedAccount> <account_id>sample string 2</account_id> <account_name>sample string 3</account_name> <account_number>sample string 4</account_number> <balance>6.1</balance> <balance_last_updated>2023-09-04T05:00:49.2129027+00:00</balance_last_updated> <currency>sample string 7</currency> <iban>sample string 5</iban> <id>sample string 1</id> </SelectedAccount> <SelectedAccountId>sample string 23</SelectedAccountId> <SelectedAccountNo>sample string 22</SelectedAccountNo> <SelectedEntityId>sample string 24</SelectedEntityId> <SourcePaymentID>8</SourcePaymentID> <SponsorProductId>43774cb3-129c-4256-8f89-ddb5a410d0a3</SponsorProductId> <TopupStatusTypeID>28</TopupStatusTypeID> <TransactionID>sample string 10</TransactionID> <UnloadFeeTransactionId>2347c420-55a4-4517-9deb-672ec7d00c67</UnloadFeeTransactionId> <UserID>efcdd069-4300-479e-b7ae-8d0579d15878</UserID> <isFirst>true</isFirst> </BankCardTopupViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseViewModelName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
StatusCode | integer |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "StatusCode": 2, "Message": "sample string 3", "Data": {} }
application/xml, text/xml
Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <Data /> <Message>sample string 3</Message> <Status>true</Status> <StatusCode>2</StatusCode> </ResponseViewModel>