Get paylink by paylink Id
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.
Path Parameters
- paylink_id string required
The paylink ID
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
- 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"
}
Loading...