Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Sale__retry Invoice Payment

{ collectionName: 'sale__Invoice', permissions: ['*', 'create'], } Requires a signed-in staff user. Needs the `sale__Invoice` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONsale__retryInvoicePayment(input: RetryInvoicePaymentInput!): InvoiceCreateOutput!

{ collectionName: 'sale__Invoice', permissions: ['*', 'create'], } Requires a signed-in staff user. Needs the sale__Invoice create permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

input*

Returns

  1. sale__retryInvoicePayment
_id*ID!
paymentProvider?PAYMENT_PROVIDER
Value inBKASHSSLCOMMERZ
paymentStartUrl?String
Example Request
mutation Sale__retryInvoicePayment($input: RetryInvoicePaymentInput!) {  sale__retryInvoicePayment(input: $input) {    _id    paymentProvider    paymentStartUrl  }}
Variables
{  "input": {    "invoiceUID": "string"  }}
Example Response
{  "data": {    "sale__retryInvoicePayment": {      "_id": "1",      "paymentProvider": "BKASH",      "paymentStartUrl": "string"    }  }}