Get saved card details

Use this API to get the detail of recurring billing with a saved card. If the card is saved the response will have the card details (The last 4 digits and card brand). You can use the card details to display it to the users so they are aware of which card is saved and give them the option to change the card by navigating to the “url”

get/v1/recurring-billing/{recurring_billing_id}

Request

  • Base URL
    https://api.hit-pay.com
  • URL
    https://api.hit-pay.com/v1/recurring-billing/{recurring_billing_id}
  • Auth
    none required

Path parameters

recurring_billing_idstring required

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Response

200

idstring
business_recurring_plans_idunknown
customer_namestring
customer_emailstring
customer_phone_numberunknown
customer_phone_number_country_codeunknown
namestring
descriptionstring
referencestring
cyclestring
cycle_repeatunknown
cycle_frequencyunknown
currencystring
pricenumber
amountnumber
times_to_be_chargedunknown
times_chargedunknown
statusstring
send_emailnumber
save_cardnumber
redirect_urlstring
payment_methodsstring[]
payment_provider_charge_methodstring
created_atstring
updated_atstring
pause_fromunknown
pause_untilunknown
expires_atunknown
urlstring
total_chargenumber

Changes

No recorded changes to this operation across all 8 revisions of this API.