Skip to main content

Arguments

Input fields for initiating a standalone payment.

Returns

InitiateHostedStandalonePayment

Initiate a standalone payment and return the url where the customer can complete it.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can initiate standalone payments

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation InitiateHostedStandalonePayment($input: InitiateHostedStandalonePaymentInput!) { initiateHostedStandalonePayment(input: $input) { payment { ...InitiateHostedStandalonePaymentOutputFragment } } }

Variables

Response

{ "data": { "initiateHostedStandalonePayment": { "payment": InitiateHostedStandalonePaymentOutput } } }