{{baseUrl}}/pay/:endpoint
POST {{baseUrl}}/pay/:endpoint
Method that allows you to request a payment. The result will be a url that will redirect you to the payment portal.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"data": {
"id": "6489ca34bf95b3541e0ccb25",
"payment_url": "https://test.ws.pagasubito.it/payment/6489ca34bf95b3541e0ccb25"
},
"success": true,
"message": "",
"error": null
} |
ENDPOINTS