Check the payment methods supported by the system

2021-03-23 15:38:08


The currency supported by the system is dynamic.

 

Type:

GET & POST

URL:

https://api.modenpay.io/pay/inquire/payment_provider

 

Request parameter


None

 

Request example


 

curl -X POST https://api.modenpay.io/pay/inquire/payment_provider \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic <Your Basic Auth>'

 

Example 200 response


 

{
    "status": "success",
    "data": [
        {
            "payment_provider": "SWIFT"
        }
    ]
}

 

Example 412 response


 

{
	"status" : "fail",
	"code" : 10000,
	"message" : "xxxxxxx"
}

This is an error json return, you can find the corresponding error information according to the error code code. Error code reference table