Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No invoice returned if externalId contains spaces #4530

Open
krtk6160 opened this issue Jul 1, 2024 · 0 comments
Open

No invoice returned if externalId contains spaces #4530

krtk6160 opened this issue Jul 1, 2024 · 0 comments

Comments

@krtk6160
Copy link
Member

krtk6160 commented Jul 1, 2024

curl 'https://api.blink.sv/graphql' \
  -H 'accept: */*' \
  -H 'accept-language: en-GB,en;q=0.9' \
  -H 'apollo-expose-query-plan: true' \
  -H 'content-type: application/json' \
  -H 'dnt: 1' \
  -H 'origin: https://api.blink.sv' \
  -H 'priority: u=1, i' \
  -H 'referer: https://api.blink.sv/graphql' \
  -H 'sec-ch-ua: "Brave";v="125", "Chromium";v="125", "Not.A/Brand";v="24"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'sec-gpc: 1' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  --data-raw $'{"query":"mutation LnInvoiceCreateOnBehalfOfRecipient($input: LnInvoiceCreateOnBehalfOfRecipientInput\u0021) {\\n        lnInvoiceCreateOnBehalfOfRecipient(input: $input) {\\n          invoice {\\n            paymentRequest\\n            paymentHash\\n          }\\n        }\\n      }","variables":{"input":{"externalId":"some id","amount":1,"recipientWalletId":"<some-id>"}},"operationName":"LnInvoiceCreateOnBehalfOfRecipient"}'```

Is this expected behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant