2. Fetch and Manage Tokens
Retrieve tokens using Razorpay APIs to create subsequent payments.
Once you capture a payment, Razorpay Curlec Checkout returns a razorpay_payment_id. You can use this id to fetch the token_id, which is used to create and charge subsequent payments.
You can retrieve the token_id using the
Use the below endpoint to fetch the token_id using a payment_id.
GET
/payments/:id
Note
You can also retrieve the token_id via the
Watch Out!
The UPI tokens are not populated in the API response if the save_vpa feature is not enabled in your account. Please raise a request with our
The following endpoint deletes a token.
DELETE
/customers/:customer_id/tokens/:token_id
Is this integration guide useful?