Customer

Get current customer

get

Retrieves the current customer from the passed Customer token.

Authorizations
AuthorizationstringRequired

A Customer token generated using an API Key in the format 'Customer TOKEN_HERE'.

Responses
200

OK

application/json
get
/v1/store/customer

Lookup a gift card by the code

get
Authorizations
AuthorizationstringRequired

A Customer token generated using an API Key in the format 'Customer TOKEN_HERE'.

Path parameters
codestringRequired
Responses
200

OK

application/json
get
/v1/store/customer/giftcards/lookup/{code}

Authenticate customer

post

Creates a customer and returns a customer token from a platform account.

Header parameters
x-paynow-store-idstring · flake-idRequired

PayNow Store Identifier (Store ID) available in Store Settings

x-paynow-customer-ipstring · ipv4Optional

The IP address (IPv4 or IPv6) of the customer. Required if the request is not being made from the customer's browser.

x-paynow-customer-countrycodestringOptional

The customer's country code in ISO 3166-1 alpha-2 format. Optional, but recommended if you have this available.

Pattern: ^[A-Z]{2}$
Body
platformstring · enumRequiredPossible values:
idstringRequired

The account ID on the platform

Example: 76561198152492642
Responses
200

OK

application/json
post
/v1/store/customer/auth

Last updated

Was this helpful?