Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get Payment Methods API retrieves information for the payment method for an account.   


Sample request

GET https://api.armor.com/paymentmethods

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/paymentmethodsGET


There are no parameters for this API call. 


Sample return

StatusResponse
200
[
 {
   "id": 1,
   "accountBillingId": 1,
   "name": "Corporate Visa",
   "paymentMethodId": "2c92c0f959687a90015975b882f515a0",
   "paymentType": "CreditCard",
   "achRoutingNumber": "",
   "achAccountMaskNumber": "",
   "creditCardType": "",
   "creditCardMaskNumber": "****1114",
   "creditCardExpirationMonth": 02,
   "creditCardExpirationYear": 2020,
   "createdDate": "2015-01-06T21:38:52.027",
   "createdBy": "2",
   "modifiedDate": null,
   "modifiedBy": null,
   "status": "Pending",
   "isDeleted": false,
   "isPrimary": true
 }
]