Generate card data which can be sent to Google Pay for tokenization.

The card must be enrolled for Google Pay tokenization. This endpoint returns mock data in testing environment.

Path Params
string
required
length between 40 and 40

A Card identifier. Begins with 'crd-' followed by a v4 UUID

Body Params

Google Pay data needed to generate the card data for tokenization.

string
required

The user's device unique identifier

Responses

400

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

401

Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.

403

The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.

429

The user has sent too many requests in a given amount of time ("rate limiting").

500

The server has encountered a situation it does not know how to handle.

Language
Response
Choose an example:
application/json