fbpx
3.06 List of payment methods


Connection URL

TEST URL  http://nap.dev.icash.bg/clientapi/v1/get-pay-types
( AL ) PRODUCTION URL  https://v1.icash.al/clientapi/v1/get-pay-types
( BG ) PRODUCTION URL https://v5.icash.bg/clientapi/v1/get-pay-types

 

POST REQUEST

Param Description Field type Required
api_key API Key String YES
nonce Nonce Integer YES
signature Signature String YES
ses Session indentificator String YES

 

JSON response on success

Param Description Field type Required
nonce Nonce from request Integer YES
status Request status Integer

1 – successful

YES
data List of payment method Array of Item

 

Structure of type “Item”

Param Description Field type Required
id Indentificator Integer YES
name Name String YES

 

Example:

{
    „nonce“: „1552998930“,
    „status“: 1,
    „data“: [
        {
            „id“: 1,
            „value“: „Cash“
        },
        {
            „id“: 2,
            „value“: „Credit card“
        },
        {
            „id“: 3,
            „value“: „Check“
        }
    ]
}

 

JSON response on unsuccess

Param Description Field type Required
nonce Nonce from request Integer YES
status Request status Integer

0 – unsuccess request

YES
error_message Error Description String YES

 

Example:

{
    „nonce“: „1552990901“,
    „status“: 0,
    „error_message“: „Session expired“
}

 

Безплатна консултация



Безплатна консултация



Безплатна консултация




Безплатна консултация




Безплатна консултация




Безплатна консултация