Capture Payment

When you create a payment link, you decide wheter or not there should be autocapture on the transaction.

If autocapture is on, everything happens automaticly and there is nothing left to do.

If autocapture is off, you need to capture the payment via our API wich you can find here, or your adminnistration panel on admin.yourpay.io.

Via this API you need to enter merchant_token, payment id and amount. You can find merchant_token under “account” on admin.yourpay.io, and paymnet id can be found under details about transaction.

You can use our console, to see if everything works, by pressing the “try console” button in the top right corner.

Here you can enter your parameters, and click “send request” to execute the code.

Was this article helpful?
Dislike 0
Views: 46

Fandt du ikke svar på det du søgte?