Creating a payment link
If you want to create a payment link using our API you need to use the Generate token function. You can find this function here.
As shown in the Understanding our API documentation you can now insert your own parameters to test the API.
When you send a Generate token request, you will get a response with a full URL for the payment.
Remember to enable “CCRG = 1” if you want the option to rebill the customer later on. See how you can do this here.
The payment window from the full URL, will look like this:
Notice: Your can find merchantID, merchant token etc. in your admin panel under “account” on admin.yourpay.io