Logo
Openapi.it Public API Documentation

{{baseUrl}}/pay/:id

GET {{baseUrl}}/pay/:id

Method that allows you to see the single request identified by the id. The 'report' field is entered only after finalizing the payment and contains data on the outcome of the payment.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": { "id": "6481f506b5fc59ab15049fe4", "email": "email@prova.com", "cognome": "", "nome": "", "indirizzo": "", "cap": "", "localita": "", "provincia": "", "telefono": "", "importo": "12312", "ccp": "12345", "causale": "", "type": 896, "timestamp": "1686238470629", "owner": "useremail@prova.com", "codice_bollettino": "123445543434677780", "callback": { "url": "https://your_domain.it/your_callback.php", "headers": { "session_id": "9834thjf9fhj8907yf4" }, "method": "POST", "field": "data", "data": {} }, "report": { "payment_status": "OK", "payment_id": "12020000340229", "email": "useremail@prova.com", "payment_date": "2020-04-06 17:23:10", "total_amount": "126.12", "ccp": "12345", "bulletin_type": "896", "causal": "exemple causal", "operation_id": "111111", "code": "123445543434677780" } }, "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/pay/:id' -H 'Accept: application/json'

ENDPOINTS