curl --location --request GET 'https://sandbox.api.confirmapay.com//v1/payment-channel' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"name": "string",
"paymentMethods": [
{
"id": 0,
"name": "string",
"collectionPromptChannels": [
{
"id": 0,
"name": "string",
"prerequisites": [
"string"
],
"fields": [
{
"fieldName": "string",
"displayName": "string",
"type": "string",
"description": "string",
"required": true,
"isTenantConfiguration": true
}
]
}
]
}
],
"enabled": true
}
],
"description": {
"code": "string",
"message": "string"
},
"narrative": {
"code": "string",
"message": "string"
}
}