Update paylink
Update some specific data (email, mobile number) associated with the paylink until the link is used. If a paylink is not paid then it’s status can be changed to ‘Cancelled’.
Path Parameters
- paylink_id string required
The paylink ID
- application/json
Request Body
- email string
Email address
- mobile_number string
Customer mobile number
- status string
Paylink status
Responses
- 200
OK
Response Headers
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- id integer
- 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,
"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,
"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...