Step 4: Charge customer

POST https://gate.reviopay.com/api/v1/purchases/{{purchase_id_step_3}}/charge/

This request will charge your clients card with the recurring token generated in step 2.

You can also use the GET /clients/{id}/recurring_tokens/ request to retrieve your clients available tokens.

In cases where clients want to change their banking details a new recurring token will be required. This can be achieved by repeating steps 2 - 4 and using the new recurring token to charge future purchases.

Request Body

{"recurring_token"=>"{{recurring_token_id}}"}