Skip to main content

Arguments

Input fields for getting the client secret for an embedded new card payment method form.

Returns

GetEmbeddedSecretForNewPaymentInstructionWithoutAccount

Get the client secret needed to create a new stored payment instruction using an embedded form.

This mutation is specifically for saving payment methods for future use, without immediately creating a payment instruction tied to a specific ledger or account.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create payment instructions

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 GetEmbeddedSecretForNewPaymentInstructionWithoutAccount($input: GetEmbeddedSecretForNewPaymentInstructionWithoutAccountInput!) { getEmbeddedSecretForNewPaymentInstructionWithoutAccount(input: $input) { secretKey } }

Response

{ "data": { "getEmbeddedSecretForNewPaymentInstructionWithoutAccount": { "secretKey": "cut-section-show-method-main" } } }