a1pay
  • Introduction
  • Request Authentication
  • User Login
  • User Signup
  • List User's Transactions
  • Initialize Payment
  • List User's Cards
  • Query a Transaction
  • Requery a Transaction
  • Charge Card
  • OTP Validation
  • Accept Payment Using A1Pay
    • Introduction
    • Initialize Payment
    • Query Status With Your Reference
    • Query Status With A1Pay Reference
    • Sample Integration Codes
Powered by GitBook
On this page

List User's Cards

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

Get Cards

GET https://a1pay.net/api/transactions/cards/:UserId

This endpoint allows you to list cards belonging to logged in user.

Query Parameters

Name
Type
Description

UserId

integer

UserId of the loggedin user

{
  "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"
}

PreviousInitialize PaymentNextQuery a Transaction

Last updated 4 years ago