Browpay API Documentation
  • Home
  • Escrow QuickStart Guide
  • Authentication
  • Webhooks
    • Signature Validation
    • Encryption and Decryption
  • Payments
    • Collect Payments
      • Initialize Transaction
      • Verify Payments
      • List Payments
    • Transaction Codes
      • Verify Token
      • List Codes
  • Payouts
    • Account Resolution
    • Transfers
      • Create Transfer
      • Fetch Transfer
      • List Transfers
  • Customers
    • Fetch Customers
    • Load Customer
  • Products
    • Fetch Products
  • Miscellaneous
    • Balances
    • Banks
    • Countries
  • Plugins
    • Plugins and Libraries
Powered by GitBook
On this page

Was this helpful?

  1. Customers

Load Customer

Fetch a customer using the customer_tag

GET {{base_url}}/customer/:customer_tag

Request Parameters

Name
Type
Description

customer_tag*

String

The unique customer tag

Headers

Name
Type
Description

Authorization*

String

Bearer {{your_secret_key}}

{
    "data": {
        "id": "e9b7d6f7-8ce4-4952-92c9-6615885c4739",
        "name": "Gucci Buyer",
        "business_name": "Gucci Buyer",
        "phone_number": "2348100192839",
        "customer_tag": "CUS_ZVqNWCjsnXt4",
        "address": {
            "id": "ea6eec53-61aa-4834-ab72-b8602fde9d5b",
            "house_name_or_no": "4",
            "street": "International Boulevard 98th Zone",
            "city": "Esan West",
            "zip_code": "342101",
            "state": "Edo",
            "country": "Nigeria"
        },
        "createdAt": "2023-05-12T16:34:47.000000Z",
        "updatedAt": "2023-06-03T14:19:23.000000Z"
    },
    "success": true,
    "message": "Data retrieved successfully"
}
{
    "success": false,
    "error": "Error in request",
    "message": "Customer not found"
}
PreviousFetch CustomersNextFetch Products

Last updated 4 months ago

Was this helpful?