WellnessLiving API (v1)
  1. Collector
WellnessLiving API (v1)
  • WellnessLiving API
  • Auth
    • Authentication
  • Appointment
    • /v1/appointment/book/asset/list
    • /v1/appointment/book/asset/category
    • /v1/appointment/book/service/list
    • /v1/appointment/book/staff/list
  • Business
    • /v1/business
    • /v1/business/skin
  • Classes
    • /v1/classes/list
    • /v1/classes/view/element
  • Collector
    • /v1/collector/debt/list
      GET
    • /v1/collector/debt/pay
      POST
    • /v1/collector/debt/transaction
      GET
  • Drive
    • /v1/drive/product/image/upload
  • Event
    • /v1/event/book/list
    • /v1/event/list
    • /v1/event/book/view/element
  • Location
    • /v1/location/list
    • /v1/location/view
  • Login
    • /v1/login/search/settings
    • /v1/login/search/staff-app/list
    • /v1/login/search/settings
  • Member
    • /v1/member/info
  • Profile
    • /v1/profile/purchase/list
    • /v1/profile/contract
    • /v1/profile/purchase/list/element
  • Promotion
    • /v1/promotion/list
    • /v1/promotion
  • Purchase
    • /v1/purchase/receipt
  • Report
    • /v1/report/data
    • /v1/report/query
  • Schedule
    • /v1/schedule/class/list
    • /v1/schedule/page/list
    • /v1/schedule/tab
    • /v1/schedule/class/view
    • /v1/schedule/page/element
  • Shop
    • /v1/shop/category
  • Staff
    • /v1/staff/list
    • /v1/staff/view
  • User
    • /v1/user
  • Visit
    • /v1/visit/status
  1. Collector

/v1/collector/debt/pay

Testing
POST
https://uat-api.wellnessliving.io/v1/collector/debt/pay
This endpoint is used to make a payment for a specific debt collector in a particular region.

Request#

Parameters:
id_region (number): The ID of the region for the debt payment.
k_business (number): The business ID for the debt payment.
uid (number): The user ID for the debt payment.
id_currency (number): The ID of the currency for the debt payment.
k_collector_debt (string): The key for the collector debt.

Response#

Status: 200
Content-Type: application/json
The response will be in JSON format with the following fields:
a_error (array): An array of error objects.
html_message (string): The HTML message for the error.
id (null): The ID of the error.
s_field (string): The field related to the error.
s_message (string): The error message.
sid (string): The ID of the error.
class (string): The class of the response.
code (null): The code of the response.
message (string): The message of the response.
status (string): The status of the response.
k_log (string): The log key of the response.
s_version (string): The version of the response.
__a_message (array): An array of messages.
Example Response:
{
    "a_error": [
        {
            "html_message": "",
            "id": null,
            "s_field": "",
            "s_message": "",
            "sid": ""
        }
    ],
    "class": "",
    "code": null,
    "message": "",
    "status": "",
    "k_log": "",
    "s_version": "",
    "__a_message": [""]
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
id_region
string 
required
Example:
2
k_business
string 
required
Example:
49197
uid
string 
required
Example:
2720946
id_currency
string 
required
Example:
1
k_collector_debt
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://uat-api.wellnessliving.io/v1/collector/debt/pay?id_region=2&k_business=49197&uid=2720946&id_currency=1&k_collector_debt=' \
--header 'Content-Type: text/plain' \
--data-raw ''

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
/v1/collector/debt/list
Next
/v1/collector/debt/transaction