Get Customer Details, Including Stored Payment Methods

Arrow can securely store payment methods for your customers. This API let you get the ID's for the payment methods to use in the transaction/add API.

URL Method
api/{apiKey}/customer/{customerId} GET

Parameters

Pass the following parameters on the URL string as shown above.

Parameter Description Required
{
ApiKey: "string", your api key *
customerId id of customer to retrieve *
}

Return Values

This API returns the following in JSON format if the operation is successful.

Field Description
{
ID ID of customer
Name
Code
PrimaryContact
PrimaryContactEmailAddress
PrimaryContactPhone
PaymentMethods [ Array of stored payment methods for the customer
{
ID ID of payment method
CardType
Last4
CardholderFirstName
CardholderLastName
ExpirationMonth
ExpirationYear
BillingStreet1
BillingStreet2
BillingCity
BillingState
BillingZip
}
]
RecurrentBillings [ Array of recurrent billing subscriptions for the customer
{
ID ID of the recurrent billing subscription
PaymentMethodId ID of the Payment Method used in the subscription
Frequency W, M, Q, Y (weekly, monthly, quarterly, yearly)
TotalAmount
ShippingAmount
Description
TransactionDay Weekly: [1-7], Monthly: [1-28], Quarterly:[1,2,3], Yearly: [1-12]
DateCreated
} ]
Success false (disregard this field)
Message null (disregard this field)
}