# Request Card Details for subscriptions / recurring payments

**URL:** <https://community.rapyd.net/t/request-card-details-for-subscriptions-recurring-payments/385>\
**Category:** 🙋🏽‍♀️🙋🏽‍♂️ Ask Questions\
**Created:** [June 7, 2021, 12:36am UTC](https://community.rapyd.net/t/request-card-details-for-subscriptions-recurring-payments/385 "2021-06-07T00:36:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/abo/32/906_2.png) [@abo](https://community.rapyd.net/u/abo)\
**Post date:** [June 7, 2021, 12:36am UTC](https://community.rapyd.net/t/request-card-details-for-subscriptions-recurring-payments/385/1 "2021-06-07T00:36:41Z")

</div>

When creating subscriptions, I have to create a customer with a payment method. In my case the payment method would be “card”. I would like to capture the card details in the same manner as with the hosted checkout page, that is by redirecting the customer to Rapyds website, instead of capturing the card details on my own page.

From the Rapyd client portal, it is possible to select a customer and select the action “Request Card Details”, which gives me a link which I can give the customer.

How do I “request card details” programmatically? That is, which service can I use to get a hold of that URL so I can redirect the customers there?

---

<div class="post-metadata">

**Author:** ![Xi\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/xi_li/32/76_2.png) [@Xi\_Li](https://community.rapyd.net/u/Xi_Li)\
**Post date:** [June 7, 2021, 7:55am UTC](https://community.rapyd.net/t/request-card-details-for-subscriptions-recurring-payments/385/2 "2021-06-07T07:55:53Z")

</div>

Hi @abo when you say "“request card details” programmatically, are you referring to an API solution. If so, then the card details can be capture and tokenized/saved by using the hosted card token page an the API guide can be found here :[Tokens](https://docs.rapyd.net/build-with-rapyd/reference/tokens#create-card-token-hosted-page)

Hope this helps. Thanks

---

<div class="post-metadata">

**Author:** ![abo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/abo/32/906_2.png) [@abo](https://community.rapyd.net/u/abo)\
**Post date:** [June 7, 2021, 9:12am UTC](https://community.rapyd.net/t/request-card-details-for-subscriptions-recurring-payments/385/3 "2021-06-07T09:12:00Z")

</div>

Thank you @Xi_Li !  
That was exactly what I was looking for and worked perfectly 🙂
