Endpoint to retrieve the channels supported by a given phone number.

Request:

Query ParameterTypeDescription
businessIdIntegerUnique identifier for business
phoneNumberString(Digits)phone number with which to get channels

Example request

curl --location 'https://api.vendy.money/transactions/channels?businessId=1&phoneNumber=2349050264876' \
--header 'Authorization: Bearer <token>'

Response:

FieldTypeDescription
statusBooleanStates if request was successfully executed or not
codeIntegerInternal code, success if 200
msgStringA description of the status of the request
dataJsonArrayAvailable payment methods for phone number

Example response

{
    "status": true,
    "code": 200,
    "msg": "Channels",
    "data": [
        {
            "pay_wallet": true
        },
        {
            "payment_card": true
        }
    ]
}
Language
Authorization
Header
Click Try It! to start a request and see the response here!