Bavindo
  1. NFC
Bavindo
API
  • API
  • Webhook
  • v1
    • Terminal
      • POS Connected Terminals
    • Payment
      • POS Payment Create
      • POS Payment Cancel
      • Get Payment Details
      • POS Payment Refund Referenced
    • NFC
      • NFC Transaction Start/Continue
        POST
      • NFC Transaction Stop
        POST
  1. NFC

NFC Transaction Stop

Developing
POST
https://api.bavindo.com/v1/nfc/stop
INFO
This endpoint can be accessed with the following API type: pos-payment.
TIP
Don't have an API key? Create one in your Customer Area with the type pos-payment, go to Developers -> Api Credentials.
INFO
When Stopping a NFC Transaction, the API key needs to have the same store ID as the linked Adyen POS terminal, otherwise it will fail to stop the NFC transaction. Use Connected Terminals to get the linked terminals to a store.

Stop NFC Transaction#

When you are done applying your business logic, you can stop the ongoing loading screen on the terminal.

Displaying the result#

In the display_output you can provide the following values:
header
icon
footer

Response#

Response event statuses#

success (200) A NFC Transaction has been successfully stopped
success -> merchantabort (200) A NFC Transaction didn't officially start, and we executed a Merchant Abort to return to the terminal to status initialised.
failure (400) Failed to stop a NFC Transaction

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{"pos_id":"willekeurig","terminal_id":"P400Plus-00000000","display_output":{"icon":"AcceptedAnimated","header":"Success","footer":"Have a great day!"}}

Responses

🟢200Success
application/json
Body

Examples
{
    "event_type": "service.enableservice.response",
    "event": "success",
    "event_condition": null,
    "store_id": "3294V22322755KZ6TWHGPRJ",
    "terminal_id": "P400Plus-00000000",
    "pos_id": "willekeurig",
    "metadata": {
        "your_info": "123456789"
    },
    "adyen_response": {
        "SaleToPOIResponse": {
            "EnableServiceResponse": {
                "Response": {
                    "Result": "Success"
                }
            },
            "MessageHeader": {
                "MessageCategory": "EnableService",
                "MessageClass": "Service",
                "MessageType": "Response",
                "POIID": "P400Plus-806706769",
                "ProtocolVersion": "3.0",
                "SaleID": "willekeurig",
                "ServiceID": "45215d45"
            }
        }
    },
    "adyen_error_log": [],
    "environment": "test"
}
Modified at 2024-10-21 12:26:21
Previous
NFC Transaction Start/Continue
Built with