Operations

paymentRequest

Process a payment for a QR code scan.

POST /payments

A merchant has displayed a QR code which was subsequently scanned by your application. A notification of a successful scan has been successfully linked to a payment request from a Merchant and thus a request to authorise said payment is being made.

Security

httpBasic

Request

Content-type: application/json

Parameters

NameLocated inRequiredDescriptionSchema
bodybodyYesA payment requestPaymentRequest

Response

Content-type: application/json

Status CodeReasonResponse Model
200SuccessPaymentResponse
400Bad requestErrorDetail
500Internal Server ErrorErrorDetail
501Not implementedErrorDetail
503Service UnavailableErrorDetail
504Gateway TimeoutErrorDetail

Confirm completion of tender initiated by a payment request.

POST /payments/{paymentId}/confirmations/{adviceId}

Confirm that the payment previously authorised has now been completed by the merchant and the customer has left with the goods.

Security

httpBasic

Request

Content-type: application/json

Parameters

NameLocated inRequiredDescriptionSchema
adviceIdpathYesThe randomly generated UUID of this requeststring
paymentIdpathYesThe UUID generated for the original paymentRequest requeststring
bodybodyYesA payment confirmationConfirmationAdvice

Response

Content-type: application/json

Status CodeReasonResponse Model
202AcceptedAdviceResponse
400Bad requestErrorDetail
500Internal Server ErrorErrorDetail
503Service UnavailableErrorDetail
504Gateway TimeoutErrorDetail

reversePayment

Reverse a payment request that failed or timed out

POST /payments/{paymentId}/reversals/{adviceId}

Reverse a previous payment previously authorised. This tender was not used by the merchant and the funds reserved should be released.

Security

httpBasic

Request

Content-type: application/json

Parameters

NameLocated inRequiredDescriptionSchema
adviceIdpathYesThe randomly generated UUID of this requeststring
paymentIdpathYesThe UUID generated for the original paymentRequest requeststring
bodybodyYesA payment reversalReversalAdvice

Response

Content-type: application/json

Status CodeReasonResponse Model
202AcceptedAdviceResponse
400Bad requestErrorDetail
500Internal Server ErrorErrorDetail
503Service UnavailableErrorDetail
504Gateway TimeoutErrorDetail

scanNotification

Notification of a QR scan.

POST /scanNotifications

Notify the system of the scan by your application of a QR code. Information in this notification will be used to subsequently submit a payment to you for authorisation.

Security

httpBasic

Request

Content-type: application/json

Parameters

NameLocated inRequiredDescriptionSchema
bodybodyYesNotification that a customer has scanned a QR code to effect tender.ScanNotification

Response

Content-type: application/json

Status CodeReasonResponse Model
201Success
400Bad requestErrorDetail
500Internal Server ErrorErrorDetail
501Not implementedErrorDetail
503Service UnavailableErrorDetail
504Gateway TimeoutErrorDetail