Get allowed payment

This method allows you to retrieve payment type.

GET

/invoice/payment

Esempi


GET /invoice/payment HTTP/1.1
Host: api.smsup.ch
Authorization: Bearer your.token
Accept: application/json
          
        

Formato della risposta


            {
                "status": 1,
                "message": "OK",
                "invoice": {
                    "allowed_payment_type": [
                        "socgen",
                        "stripe",
                        "transfer",
                        "paypal",
                        "check"
                    ]
                }
            }