API reference
createPaymentIntentRetry
Required permission: Authenticated
createPaymentIntentRetry(
paymentIntentId: ID!
input: PaymentIntentRetryInput!
): PaymentIntentArguments
| Name | Type | Description |
|---|---|---|
paymentIntentId |
ID! |
|
input |
PaymentIntentRetryInput! |
Returns
Example
mutation CreatePaymentIntentRetry($paymentIntentId: ID!, $input: PaymentIntentRetryInput!) {
createPaymentIntentRetry(paymentIntentId: $paymentIntentId, input: $input) {
id
finalizeAccessToken
metadata
paymentProvider
receiptPaymentMethodLabel
state
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { createPaymentIntentRetry(...) { __typename } }"}'