getEmbeddedSecretForNewPaymentInstruction
Get the client secret needed to create a new payment instruction using an embedded form.
Arguments
Input fields for getting the client secret for an embedded new card payment method form.
Returns
GetEmbeddedSecretForNewPaymentInstructionGet the client secret needed to create a new payment instruction using an embedded form.
Possible Errors
Allowed Viewers
Required Permissions
Can create payment instructionsQuery Complexity
1Examples
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.
mutation GetEmbeddedSecretForNewPaymentInstruction($input: GetEmbeddedSecretForNewPaymentInstructionInput!) {
getEmbeddedSecretForNewPaymentInstruction(input: $input) {
secretKey
}
}
Variables
{
"input": GetEmbeddedSecretForNewPaymentInstructionInput
}
Response
{
"data": {
"getEmbeddedSecretForNewPaymentInstruction": {
"secretKey": "night-mission-article-good-include"
}
}
}