/{businessId}/paymentMethod
[GET]
This method is to fetch the payment methods from liberate.
https://nonprod.cwp.esb.cloud.lla.com/preprod/sfdc-ux-cwp/sfdc-ux/v1/{businessId}/paymentMethod
url Param
| name | type | description | required |
|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BS, JM) identifying the business unit. Exp: PA | Y |
| name | type | description | required |
|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request | N |
Query Param
| name | type | description | required |
|---|
| account.id | string | Account Number | Y |
Sample Response
[
{
"id": "1",
"name": "LP Efectiv",
"description": "La Prensa Efectivo",
"@type": "Cash",
"cardType": "Credit",
"validFor": {
"startDate": "31-12-9999 00:00:00",
"endDate": "27-06-2002 07:05:18"
},
"account": [{
"id": "335001790000"
}],
"characteristics": [
{
"name": "methodType",
"value": "C"
},
{
"name": "altCurrencyInd",
"value": "N"
},
{
"name": "authoriseChange",
"value": "N"
},
{
"name": "exchRate",
"value": "0"
}
]
}
]