Digital Wallet Endpoints

google-pay/generate-embed-url

This endpoint is used to generate a unique URL to embed into your application using an iFrame. End users will use this to login to their Google account and generate a token, which can be used in the /google-pay/charge endpoint.

post/google-pay/generate-embed-url

Request

  • Base URL
    https://earthnode-dev.vopay.com/api/v2
  • URL
    https://earthnode-dev.vopay.com/api/v2/google-pay/generate-embed-url
  • Auth
    none declared

Request body application/x-www-form-urlencoded

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

ClientAccountIDstring

When provided, the Google Pay token generated will be attached to the Client Account ID

RedirectURLstring required

URL to redirect the user to after the Google account is connected.

RedirectMethodstring

This parameter accepts InnerRedirect, OuterRedirect, and JavascriptMessage as parameter values.

ClientControlledboolean

When set to true, the Google Pay token added will be linked to your VoPay account. Default is false.

Response

Successboolean required

true if the request was successful, false if it failed

ErrorMessagestring required

Contains a description of the error if the request failed

EmbedURLstring required

Custom generated iQ11 iframe url for users to use

IframeKeystring required

Unique key attached to the generated iFrame

Example response

{
  "Success": true,
  "EmbedURL": "https://earthnode-dev.vopay.com/iq11/embed/{Key Returned by Vopay}",
  "IframeKey": "a1b2c3"
}

Changes

No recorded changes to this operation across all 1 revision of this API.