{{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.
Request Body
{"email"=>"<email>", "importo"=>"<number>", "ccp"=>"<string>", "codice_bollettino"=>"<string>", "cognome"=>"<string>", "nome"=>"<string>", "indirizzo"=>"<string>", "telefono"=>"<string>", "cap"=>"<string>", "localita"=>"<string>", "provincia"=>"<string>", "callback"=>{"method"=>"<string>", "field"=>"<string>", "url"=>"<string>", "headers"=>{"key"=>"<string>"}, "data"=>"<object>"}}
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}