Payment Pages
Create and manage hosted payment pages
Returns all payment pages.
Your API key (obtain from dashboard)
Page number (1-based)
1Example: 1Number of items per page
10Example: 10Search by payment page title
Monthly SubscriptionFilter by active status
trueIndicates if the request was successful
trueResponse message
SuccessUnauthorized
Forbidden
GET /api/v1/payments/pages HTTP/1.1
Host: api.coincircuit.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Success",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"reference": "1234567890",
"merchant": {
"businessName": "Acme Corporation",
"logoUrl": "https://example.com/logo.png"
},
"title": "Donation Page",
"description": "Support our cause with a donation",
"isActive": true,
"currency": "NGN",
"minAmount": "1000",
"enableQuantity": false,
"bankAccounts": [
{
"isTemporary": true,
"notes": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"accountName": "John Doe Business Ltd",
"accountNumber": "****4852",
"bankName": "Access Bank",
"bankCode": "044",
"accountType": "savings",
"currency": "NGN",
"nickName": "Main Account",
"default": true,
"isTrusted": false,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
],
"products": [
{
"id": "uuid-string",
"title": "Standard Room",
"description": "Single bed, breakfast included",
"price": "50000.00",
"isActive": true,
"sortOrder": 0,
"imageUrl": "https://cdn.coincircuit.io/products/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
],
"imageUrl": "https://cdn.coincircuit.io/payment-pages/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"url": "https://checkout.coincircuit.io/static/1234567890",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
],
"meta": {
"page": 1,
"size": 10,
"total": 42,
"totalPages": 5
}
}Creates a new payment page.
Your API key (obtain from dashboard)
Title for the payment page
My Store CheckoutDescription of the payment page
Payment page for my online storeWhether the payment page is active
trueExample: trueMinimum amount for payments
100Fiat currency for this payment page
USDPossible values: Array of bank account IDs to associate with this payment page
["uuid-1","uuid-2"]Enable quantity selector (e.g. nights, units). Only valid when products are defined.
Indicates if the request was successful
trueResponse message
SuccessInvalid input
Unauthorized
Forbidden
Conflict - Nickname already exists
POST /api/v1/payments/pages HTTP/1.1
Host: api.coincircuit.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 429
{
"title": "My Store Checkout",
"description": "Payment page for my online store",
"isActive": true,
"minAmount": 100,
"currency": "USD",
"bankAccountIds": [
"uuid-1",
"uuid-2"
],
"products": [
{
"title": "Standard Room",
"description": "Single bed, breakfast included",
"price": 50000,
"isActive": true,
"sortOrder": 0
},
{
"title": "Deluxe Room",
"description": "King bed, breakfast & dinner",
"price": 80000,
"isActive": true,
"sortOrder": 1
}
],
"enableQuantity": true
}{
"success": true,
"message": "Success",
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"reference": "1234567890",
"merchant": {
"businessName": "Acme Corporation",
"logoUrl": "https://example.com/logo.png"
},
"title": "Donation Page",
"description": "Support our cause with a donation",
"isActive": true,
"currency": "NGN",
"minAmount": "1000",
"enableQuantity": false,
"bankAccounts": [
{
"isTemporary": true,
"notes": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"accountName": "John Doe Business Ltd",
"accountNumber": "****4852",
"bankName": "Access Bank",
"bankCode": "044",
"accountType": "savings",
"currency": "NGN",
"nickName": "Main Account",
"default": true,
"isTrusted": false,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
],
"products": [
{
"id": "uuid-string",
"title": "Standard Room",
"description": "Single bed, breakfast included",
"price": "50000.00",
"isActive": true,
"sortOrder": 0,
"imageUrl": "https://cdn.coincircuit.io/products/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
],
"imageUrl": "https://cdn.coincircuit.io/payment-pages/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"url": "https://checkout.coincircuit.io/static/1234567890",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}Returns the payment page for the given reference.
Your API key (obtain from dashboard)
Payment page reference
abc123def456API key for authentication
pk_live_1234567890abcdefIndicates if the request was successful
trueResponse message
SuccessPayment page not found
Internal server error
GET /api/v1/payments/pages/{reference}/sessions HTTP/1.1
Host: api.coincircuit.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Success",
"data": {
"merchant": {
"businessName": "Acme Corporation",
"logoUrl": "https://example.com/logo.png"
},
"title": "text",
"description": "text",
"currency": "text",
"minAmount": "text",
"enableQuantity": true,
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "Basic Plan",
"price": "100000",
"description": "Basic subscription plan with essential features",
"sortOrder": 1,
"imageUrl": "https://cdn.coincircuit.io/products/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg"
}
],
"bankAccounts": [
{
"id": "bacc-123e4567-e89b-12d3-a456-426614174000",
"accountName": "John Smith",
"accountNumber": "******4321",
"bankName": "GT Bank"
}
],
"imageUrl": "https://cdn.coincircuit.io/payment-pages/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"url": "https://checkout.coincircuit.io/static/1234567890"
}
}Deletes the payment page.
Your API key (obtain from dashboard)
Payment page ID
uuid-stringNo content
Unauthorized
Forbidden
Payment page not found
DELETE /api/v1/payments/pages/{id} HTTP/1.1
Host: api.coincircuit.io
x-api-key: YOUR_API_KEY
Accept: */*
No content
Updates the payment page.
Your API key (obtain from dashboard)
Payment page ID
uuid-stringTitle for the payment page
My Store CheckoutDescription of the payment page
Payment page for my online storeWhether the payment page is active
trueExample: trueMinimum amount for payments
100Fiat currency for this payment page
USDPossible values: Array of bank account IDs to associate with this payment page
["uuid-1","uuid-2"]Enable quantity selector (e.g. nights, units). Only valid when products are defined.
Indicates if the request was successful
trueResponse message
SuccessBad request
Unauthorized
Forbidden
Payment page not found
Conflict - Nickname already exists
PATCH /api/v1/payments/pages/{id} HTTP/1.1
Host: api.coincircuit.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 429
{
"title": "My Store Checkout",
"description": "Payment page for my online store",
"isActive": true,
"minAmount": 100,
"currency": "USD",
"bankAccountIds": [
"uuid-1",
"uuid-2"
],
"products": [
{
"title": "Standard Room",
"description": "Single bed, breakfast included",
"price": 50000,
"isActive": true,
"sortOrder": 0
},
{
"title": "Deluxe Room",
"description": "King bed, breakfast & dinner",
"price": 80000,
"isActive": true,
"sortOrder": 1
}
],
"enableQuantity": true
}{
"success": true,
"message": "Success",
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"reference": "1234567890",
"merchant": {
"businessName": "Acme Corporation",
"logoUrl": "https://example.com/logo.png"
},
"title": "Donation Page",
"description": "Support our cause with a donation",
"isActive": true,
"currency": "NGN",
"minAmount": "1000",
"enableQuantity": false,
"bankAccounts": [
{
"isTemporary": true,
"notes": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"accountName": "John Doe Business Ltd",
"accountNumber": "****4852",
"bankName": "Access Bank",
"bankCode": "044",
"accountType": "savings",
"currency": "NGN",
"nickName": "Main Account",
"default": true,
"isTrusted": false,
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
],
"products": [
{
"id": "uuid-string",
"title": "Standard Room",
"description": "Single bed, breakfast included",
"price": "50000.00",
"isActive": true,
"sortOrder": 0,
"imageUrl": "https://cdn.coincircuit.io/products/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
],
"imageUrl": "https://cdn.coincircuit.io/payment-pages/8b1c2d3e-4f5a-6789-abcd-ef0123456789.jpeg",
"url": "https://checkout.coincircuit.io/static/1234567890",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}Last updated
Was this helpful?