Secure Payments API – GET Billing Card

General

Getting a billing credit card is one of the billing credit card options available through the Secure Payments (formerly PCI Wallet) API. Send a GET request to an endpoint that contains the card's unique Secure Payments token.

GET https://pciwallet.simnang.com/api/billing-card/{YOUR-TOKEN}

Since it's a GET request, there won't be a payload body. Here's a cURL request showing the formatting for the header and endpoint:

curl -X GET --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' 'https://pciwallet.simnang.com/api/billing-card/YOUR-TOKEN'

The response will look something like this, with the card number will be masked except for the last four digits:

{
"card_number": "XXXXXXXXXXXX1111",
"type": "VISA",
"address": "123 Sample Road",
"city": "Salt Lake City",
"state": "UT",
"zipcode": "84101",
"country": "USA",
"primary": true
}


How did we do?


Powered by HelpDocs (opens in a new tab)