WebAPI

<back to all web services

GetPaymentMethods

Retrieves all active payment methods for the account given the account id.

The following routes are available for this service:
GET/GetPaymentMethods/{AccountId}RESTFUL call with Account ID and Page Size in the URI
Parameters:
NameParameterData TypeRequiredDescription
AccountIdpathintegerYes

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetPaymentMethods HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/csv
Content-Length: length

AccountId
0

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ExpirationMonth,ExpirationYear,CardTypeDesc,CardId,Bankname,Name,DisplayCardNumber,PostalCode,IsPrimaryCard,CardType
0,0,String,0,String,String,String,String,False,0