1. Passes
Bardge API
  • Introduction
  • Authentication
  • Errors
  • Idempotent Requests
  • Pagination
  • Users
    • Introduction
    • Update a user
      POST
    • Set a user's client ID
      POST
    • Get a user
      GET
  • Passes
    • Introduction
    • Get All Reseller Passes
      GET
    • Issue a pass
      POST
    • Update user's pass
      POST
    • Update user's pass expiry
      POST
    • Renew a prepaid pass
      POST
    • Get User Pass Details
      GET
  • Providers
    • Introduction
    • Get providers
      GET
    • Get providers for a pass
      GET
  • Access Codes
    • Introduction
    • Generate dynamic access code
      POST
  • Bookings
    • Introduction
    • Get class categories
      GET
    • Get classes
      GET
    • Get class with instances
      GET
    • Initiate a class booking
      POST
    • Confirm a class booking
      POST
    • Initiate a spa booking
      POST
    • Confirm a spa booking
      POST
    • Get client bookings
      GET
    • Get booking status
      GET
    • Cancel a booking
      POST
  • Credits
    • Introduction
    • Purchase credits
    • Get credit packages
    • Get a user's credits
  • Lookup
    • Introduction
    • Initiate a lookup
    • Verify a lookup
    • Get issuers
    • Get a user's credits
  • Webhooks
    • Introduction
    • List Webhook Endpoints
    • Register Webhook Endpoint
    • Delete Webhook Endpoint
  • Embed
    • Introduction
    • Create a hosted session
  • Schemas
    • RegisterWebhookV3Request
    • PasscodeV3Request
    • PurchaseSpaCoPayV3Request
    • RegisterWebhookEndpointRequest
    • WebviewSessionExchangeRequest
    • ErrorDetail
    • ResellerV3PasscodeResponse
    • ResellerV3ErrorResponse
    • ResellerV3WebhookEndpointResponse
    • ResellerV3WebhookResponse
    • LookupInitiateV3Request
    • ResellerV3SpaCoPayPurchaseResponse
    • LookupV3Response
    • SpaCoPayQuoteV3Request
    • PassRef
    • LookupVerifyV3Request
    • ResellerV3SpaCoPayQuoteResponse
    • CategoryDetails
    • IssuePassV3Request
    • RenewPrepaidPassV3Request
    • UpdateLookupEnabledRequest
    • ResellerV3IssuedPassResponse
    • UpdateIssuedPassExpiryV3Request
    • PurchaseCoPayPackageV3Request
    • PurchaseGymCoPayV3Request
    • ResellerV3IssuedPassMessageResponse
    • ResellerV3PassRenewalResponse
    • ResellerV3GymCoPayPurchaseResponse
    • ResellerV3CoPayPurchaseResponse
    • UpdateIssuedPassV3Request
    • RescheduleBookingV3Request
    • PurchaseCreditsV3Request
    • PasscodeInfo
    • WebviewSessionMintRequest
    • RefundInfo
    • BookSpaV3Request
    • ResellerV3CreditPurchaseResponse
    • UpdateClientDetailsV3Request
    • ResellerV3SpaBookingInitiateResponse
    • ResellerV3ProviderResponse
    • ResellerV3ClientResponse
    • BookClassV3Request
    • ResellerV3ServiceResponse
    • SetClientIdV3Request
    • CopayOption
    • ResellerV3SpaResponse
    • ServicePreview
    • ResellerV3ClassBookingInitiateResponse
    • ResellerV3AvailabilityResponse
    • ConfirmClassBookingV3Request
    • ResellerV3AccessCodeSessionResponse
    • ResellerV3BookingResponse
    • ConfirmAccessCodeV3Request
    • CategoryDetail
    • AccessCodeV3Request
    • ResellerV3PassResponse
    • ResellerV3ListResponse
    • ResellerV3CreditsResponse
    • ResellerV3AccessCodeResponse
    • ResellerV3BookingStatusResponse
    • ResellerV3ClassInstanceResponse
    • ResellerV3ClassResponse
  1. Passes

Issue a pass

POST
/v3/api/business/reseller/issued_passes
Creates a new client record and issues a pass to that client.
pass_id and client_id are required, and client_id must be unique per reseller.
transaction_id, first_name, last_name, email, phone, calling_code, expiry_date, and label are optional.
Duplicate transaction_id values are rejected.
Welcome notification: when email and/or phone is supplied, the client is sent a welcome email and/or SMS
with their Bardge pass details, subject to your account's notification settings. Delivery happens after the
response is returned. An email or phone that already belongs to an existing client is rejected with a 409.
label accepts an array of free-text tags applied to the new client record for segmentation/filtering. It is not returned in the response.
Expiry behaviour by pass type:
Prepaid Passes: expiry is system-controlled and any partner-provided expiry_date is ignored.
Pay-as-You-Go Passes: expiry handling follows pay-as-you-go rules and expiry_date may be applied where relevant.
To find out whether your clients are on a pay-as-you-go or prepaid pass, reach out to your business relationship manager.
Idempotent — supply Idempotency-Key to safely retry.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201
*/*
Pass issued successfully
Body*/*

🟠400
🟠401
🟠403
🟠404
🟠409
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/v3/api/business/reseller/issued_passes' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pass_id": "pass_abc123",
    "client_id": "client_abc123",
    "transaction_id": "txn_abc123",
    "first_name": "Ada",
    "last_name": "Okafor",
    "email": "ada.okafor@example.com",
    "phone": "08012345678",
    "calling_code": "+234",
    "expiry_date": "2026-12-31",
    "label": [
        "VIP",
        "Corporate"
    ]
}'
Response Response Example
201 - Success
{
    "object": "issued_pass",
    "id": "brgpass_3b5d7f9a1c2e4f6b",
    "client_id": "client_abc123",
    "transaction_id": "txn_abc123",
    "tx_ref": "FLW-TXN-ABCDEFGH",
    "pass_id": "pass_premium_xyz",
    "pass_name": "Premium Wellness Pass",
    "passcode": "PASS5678",
    "status": "ACTIVE",
    "start_date": 1746700000,
    "expires_at": 1777636800,
    "categories": [
        {
            "type": "Gym",
            "duration": "MONTHLY",
            "visits_allowed": 4
        },
        {
            "type": "Spa",
            "duration": "MONTHLY",
            "credit_allocated": 20
        }
    ],
    "created": 1746700000,
    "message": "Pass issued successfully"
}
Modified at 2026-10-14 09:33:43
Previous
Get All Reseller Passes
Next
Update user's pass
Built with