/authorize_cash_payment

NOTE: Available only on sites PayNearMe has set up to accept cash directly, such as a kiosk or a cash cage, with registered retailer locations. Other sites get invalid retailer.

Starts a cash payment toward an order: PayNearMe authorizes it and returns the payment. Confirm it with confirm_cash_payment once the cash is collected, or set confirm_payment to true to confirm it in the same call.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The unique, PayNearMe-defined identifier for this order

string
required
Defaults to S2411573363

Identifies your client site.

string
required

The Unix Epoch time of the call

string
required
Defaults to 3.0

The version of the API. This version must match the version associated with your API key pair.

string

The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm.

NOTE: This field is required when authenticating with the HMAC signature method; it is not required when authenticating with OAuth 2.0.

string
required

The amount of cash presented.

string
required
Defaults to USD

The currency of the payment amount.

string
required

The identifier of the retailer location taking the cash. It must be registered to your site and match the location used to authorize the payment.

string

Set to true to confirm the payment in the same call.

string

Your identifier for this payment.

string

The transaction number from your register or kiosk.

string

The date and time of the transaction at your location.

string

Your identifier for this message, saved with the payment.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json