Billing Plans

Get credit card information

GET
/v2.1/accounts/{accountId}/billing_plan/credit_card

This method returns information about a credit card associated with an account.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/billing_plan/credit_card"
{  "address": {    "address1": "string",    "address2": "string",    "city": "string",    "country": "string",    "fax": "string",    "phone": "string",    "postalCode": "string",    "stateOrProvince": "string",    "zipPlus4": "string"  },  "cardLastDigits": "string",  "cardNumber": "string",  "cardType": "string",  "cvNumber": "string",  "expirationMonth": "string",  "expirationYear": "string",  "nameOnCard": "string",  "tokenizedCard": "string"}