Introduction

GEThttps://cards-live.78financials.com/virtual_card/cards/get_merchant_cards/{start_at}/{limit}

Arguments

Authorization header Values

POST

          
{ 
  "authorization": Payaza UFo3OC1QS0xJVkUtRjMwODcwNUMtRkY2NC00MEJCLTg1OUUtM0ZCQUI4MTJBNzdC
   
} 
     
        

Get All Merchant's Cards

GET

          
import http.client

conn = http.client.HTTPSConnection("cards-live.78financials.com")
payload = ''
headers = {
  'Authorization': 'Payaza UFo3OC1QS0xJVkUtRjMwODcwNUMtRkY2NC00MEJCLTg1OUUtM0ZCQUI4MTJBNzdC'
}
conn.request("GET", "/virtual_card/cards/get_merchant_cards/{start_at}/{limit}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
   
        

RESPONSE

{
  "total_count": 2,
  "cards": [
    {
      "card_type": "VirtualCard",
      "funded_amount": 0,
      "debited_amount": 0,
      "date_created": "2023-08-04T08:33:55.607810",
      "card_status": "Issued",
      "card_reference": "virtual_card_kyc_02",
      "currency": "USD",
      "first_6_digit": null,
      "last_4_digit": null,
      "card_issuer": null,
      "card_holder": {
        "id": 9,
        "email_address": "janetdoe@gmail.com",
        "first_name": "Janet",
        "last_name": "Doe",
        "mobile_number": "2340987654321",
        "business_fk": 19,
        "business_profile_fk": 23,
        "created_at": [
          2023,
          8,
          4,
          8,
          34,
          2,
          587003000
        ],
        "date_created": [
          2023,
          8,
          4,
          8,
          34,
          2,
          587035000
        ],
        "last_modify_date": null,
        "active": true
      }
    },
    {
      "card_type": "VirtualCard",
      "funded_amount": 0,
      "debited_amount": 0,
      "date_created": "2023-05-01T01:21:24.417624",
      "card_status": "Issued",
      "card_reference": "virtual_card_kyc_01",
      "currency": "USD",
      "first_6_digit": null,
      "last_4_digit": null,
      "card_issuer": null,
      "card_holder": {
        "id": 41,
        "email_address": "johndoe@gmail.com",
        "first_name": "John",
        "last_name": "Doe",
        "mobile_number": "2340123456789",
        "business_fk": "01",
        "business_profile_fk": "02",
        "created_at": [
          2023,
          8,
          1,
          1,
          21,
          30,
          792123000
        ],
        "date_created": [
          2023,
          7,
          1,
          1,
          21,
          30,
          792198000
        ],
        "last_modify_date": null,
        "active": true
      }
    }
  ],
  "message": "Operation Completed",
  "status": "success"
} 
      
Was this article helpful?
Contact support

Need help or want to ask questions, try connecting with our customer experience team