# Neuro-Pay Terminal API # Requests Collection of possible requests # Create [POST] **https://api.neuro-admin.com/terminalpayment/terminal-payment/create** \[POST\]
amountintSmallest nominee for the currency. Example: 30SEK is 3000 öre so value of this param should be 3000. SEK is the only currency permitted.
terminal\_idStringID of the terminal where to send the payment
reference (optional) StringIs a free text field to indicate a reference for the payment
sent\_viaEnum ("sms", "email")Indicate with which media the receipt will sent (allowed values: "sms", "email")
sent\_toStringIndicate phone number or mail where to send the receipt
[![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/scaled-1680-/o9himage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/o9himage.png) # Check Status [POST] **https://api.neuro-admin.com/terminalpayment/terminal-payment/check-status** \[POST\] Values
payment\_idStringThe payment\_id received when creating a terminal payment object
[![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/scaled-1680-/UBQimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/UBQimage.png) # Refund [POST] **[https://api.paiwise.com/terminalpayment/terminal-payment/refund](https://api.paiwise.com/terminalpayment/terminal-payment/refund)** \[POST\] The refund can be used on objects that has status “paid” or “partialRefund” Values
payment\_idStringThe payment\_id received when creating a terminal payment object
amount (optional)IntIf an amount to be refunded is not set the whole actual balance will be refunded
reason (optional)StringReason of the refund. Value admitted: "duplicate", "requested\_by\_customer" or "fraudolent"
refundDetails (optional)StringComments about the refund. Free text
sent\_via (optional) (beta)StringNotification method. Value admitted: "email" or "sms"
sent\_to (optional) (beta)StringTo whom send notification of the refund
[![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-09/scaled-1680-/iUgimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-09/iUgimage.png) # Cancel [POST] **https://api.neuro-admin.com/terminalpayment/terminal-payment/cancel** \[POST\] The update can be used on objects with every status to update/add/delete metadata information. Values
payment\_idStringThe payment\_id received when creating a terminal payment object
[![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/scaled-1680-/C8Nimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/C8Nimage.png) # Authentification In order to use the terminal API the company in question needs to generate an API key through the Neuor-Admin platform. Said API key should be sent as a bearer token in each request. [![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2022-07/scaled-1680-/jgfimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2022-07/jgfimage.png) # Response # The response object For each endpoint the terminal object will be returned in its “new state” Example: [![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/scaled-1680-/axIimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/axIimage.png) Possible statuses are • created • canceled • paid • refunded • partialRefund Every date and time returned are in UTC. # Terminal's request # Available Reader [GET] **https://api.neuro-admin.com/terminalpayment/terminal-payment/available-reader** \[GET\] The available-reader EP can be used to retrieve the list of available terminals that are online at the moment of the request [![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/scaled-1680-/image.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-06/image.png) # Data format The API currently accepts and returns JSON data in the body # Postman collection attached to this page is a postman collection for testing All requests inherits the authentication from the collection. as the bearer token you add your API key test or live, You can find file attachments in top left corner of this page