paymentInstructions
Submit payment instruction
Changed onUse this method to submit an instruction request to initiate a sale on a payment device.
In the request, include the order amount and currency.
When you send a successful request, our gateway returns information about the payment instruction and a paymentInstructionId, which you need for the following methods:
- Retrieve payment instruction - View the details of the payment instruction.
- Cancel payment instruction - Cancel the payment instruction.
post/devices/{serialNumber}/payment-instructions
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/devices/{serialNumber}/payment-instructions
- AuthHTTP bearer
Path parameters
serialNumberstring required
Serial number of the merchant’s payment device.
Headers
Idempotency-Keystring uuid required
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We accepted the payment instruction.
Changes
- info
added the new optional request property
//
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning