Menu
Get a list of available payment methods
Get a list of available payment methods
POST
/paymentMethodsUse it in a workflow
- Add a step and choose the Adyen connector.
- Pick the Get a list of available payment methods action (under Payments).
- Fill in the fields below, then reference the result from later steps as
{{getAListOfAvailablePaymentMethods.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"merchantAccount": "string",
"additionalData": {},
"allowedPaymentMethods": [
"string"
],
"amount": {
"currency": "string",
"value": 0
},
"blockedPaymentMethods": [
"string"
],
"browserInfo": {
"acceptHeader": "string",
"colorDepth": 0,
"javaEnabled": false,
"language": "string",
"screenHeight": 0,
"screenWidth": 0,
"timeZoneOffset": 0,
"userAgent": "string",
"javaScriptEnabled": true
},
"channel": "iOS",
"countryCode": "string",
"order": {
"orderData": "string",
"pspReference": "string"
},
"shopperConversionId": "string",
"shopperEmail": "string",
"shopperIP": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{getAListOfAvailablePaymentMethods.response.data.<field>}}.
{
"paymentMethods": [
{
"apps": [
{
"id": "string",
"name": "string",
"appIdentifierInfo": {
"androidPackageId": "string",
"iosScheme": "string"
}
}
],
"brand": "string",
"brands": [
"string"
],
"configuration": {},
"fundingSource": "credit",
"group": {
"name": "string",
"paymentMethodData": "string",
"type": "string"
},
"inputDetails": [
{
"configuration": {},
"details": [
{
"configuration": null,
"items": null,
"key": null,
"optional": null,
"type": null,
"value": null
}
],
"inputDetails": [
{
"configuration": null,
"items": null,
"key": null,
"optional": null,
"type": null,
"value": null
}
],
"itemSearchUrl": "string",
"items": [
{
"id": null,
"name": null
}
],
"key": "string",
"optional": false,
"type": "string",
"value": "string"
}
],
"issuers": [
{
"id": "string",
"name": "string",
"disabled": false
}
],
"name": "string",
"promoted": false,
"type": "string"
}
],
"storedPaymentMethods": [
{
"bankAccountNumber": "string",
"bankLocationId": "string",
"brand": "string",
"cashtag": "string",
"expiryMonth": "string",
"expiryYear": "string",
"externalToken": "string",
"holderName": "string",
"iban": "string",
"id": "string",
"label": "string",
"lastFour": "string"
}
]
}
Need more? See the Adyen guide for connection setup and behaviour shared by every action.
Was this page helpful?