skuidma / ycp-sdk-ts

Unofficial YouCan Pay NodeJS SDK built using TypeScript
MIT License
5 stars 0 forks source link

Can i create an invoice using this package? #8

Closed vogdev closed 4 months ago

vogdev commented 4 months ago

Hello, I was wondering if this package supports invoice creation because I am trying to create an invoice using the YouCan Pay API, but I need an Authorization Bearer TOKEN to do so. To obtain this token, I need to call the following API route: https://api.youcanpay.com/oauth/token.

This API call requires the following parameters:

I have been unable to locate the values for these parameters in the YouCan Pay dashboard. Could you please guide me on where to find this information or how to obtain these credentials? docs: https://youcanpay.com/docs/api#create_an_invoice

mehdibo commented 4 months ago

Hello, I think that API is used by the Youcan team, this is just an assumption. Try contacting their support