Get all paylinks
Authenticate requests using HTTP Basic Auth by adding a bearer token to the header, e.g. Authentication: Bearer {{access_token}}. You can get the {{access_token}} from the create token request.
Once a paylink is processed i.e. payment is done using that link, it can’t be used again to perform another transaction.
Query Parameters
- status string required
Paylink status
Example: unpaid - amount integer required
Transaction amount.
Example: 1 - customer_name string required
Customer name.
- amount_gt string required
Amount should be greater than specified value
- amount_lt string required
Amount should be less than specified value
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- id integer
- paylink_url string
- status string
- created_by string
- amount integer
- currency string
- transaction_type string
- customer_name string
- customer_email string
- phone_number string
- payment_method string[]
- is_decide_amount boolean
- notes string
- ]
[
{
"id": 0,
"paylink_url": "string",
"status": "string",
"created_by": "string",
"amount": 0,
"currency": "string",
"transaction_type": "string",
"customer_name": "string",
"customer_email": "string",
"phone_number": "string",
"payment_method": [
"string"
],
"is_decide_amount": true,
"notes": "string"
}
]
[
{
"id": 123,
"paylink_url": "https://dev.blinkpayment.co.uk/codatdev/l/asdhgl8",
"status": "Unpaid",
"created_by": "Test developer",
"amount": 1,
"currency": "GBP",
"transaction_type": "SALE",
"customer_name": "Demo Customer",
"customer_email": "demo123@gmail.com",
"phone_number": "2374993932",
"payment_method": [
"credt-card",
"open-banking"
],
"is_decide_amount": true,
"notes": "test"
},
{
"id": 124,
"paylink_url": "https://dev.blinkpayment.co.uk/codatdev/l/asdhgl8",
"status": "Unpaid",
"created_by": "Test developer",
"amount": 1,
"currency": "GBP",
"transaction_type": "SALE",
"customer_name": "Demo Customer",
"customer_email": "demo123@gmail.com",
"phone_number": "2374993932",
"payment_method": [
"open-banking"
],
"is_decide_amount": true,
"notes": "test2"
}
]
Loading...