List User's Cards

Get a list of the logged in user's saved cards

get
Get Cards

https://a1pay.net/api/transactions/cards/:UserId
This endpoint allows you to list cards belonging to logged in user.
Request
Response
Request
Query Parameters
UserId
required
integer
UserId of the loggedin user
Response
200: OK
An array of the following structure
{
"Id": "1",
"CardNumber": "xxxx xxxx xxxx 1234",
"CardClass": "",
"CountryOfIssue": "NIGERIA",
"CountryOfIssueISO": "",
"Issuer": "",
"CardType": "",
"IsForeign": "0",
"CardBrand": "",
"DateCreated": "2018-09-04T09:21:42.910",
"CardFirstname": "John",
"CardLastname": "Doe",
"ExpiryYear": "2029",
"ExpiryMonth": "3",
"CVV": "000",
"UserId": "99",
"IsValid": "1"
}

‚Äč