Download OpenAPI specification:Download
Use this API to access and manage your WePayOut account data
All endpoints are available via https
and are located at api.wepayout.com/v1/payout/.
Last update: 2021-12-14
Manage your data qualification data The data qualification process has the objectve to validate and qualify bank account data.
The data qualification services determine the procedures that will be applied to qualify the bank account. We have five data qualification services available:
You can use this endpoint to create a data qualification batch.
In the data attribute you may pass a list of bank account datas to be qualified.
You can group your data qualification in batches, to do so use the field batch_code
.
Data Qualification creation
merchant_id | integer The Merchant ID, Required when you have access to more than one Merchant |
service_id required | integer [ 1 .. 5 ] The service ID The avaliable service can be retrived in the endpoint GET /data-qualification/services |
required | Array of objects |
{- "merchant_id": 0,
- "service_id": 1,
- "data": [
- {
- "amount": 1000,
- "custom_code": "YourCustomCode",
- "batch_code": "YOURAPPCODE",
- "beneficiary": {
- "name": "The Name",
- "bank_code": "147",
- "bank_branch": "0000",
- "bank_branch_digit": "1",
- "account": "1030000",
- "account_digit": "1",
- "account_type": "CHECKING",
- "document": "12533009091"
}
}
]
}
{- "message": "Error message.",
- "info": {
- "errors": [
- {
- "line": 1,
- "batch_code": "bc101",
- "custom_code": "cc101",
- "message": "Name format invalid"
}
], - "uploadSuccess": [
- {
- "line": 1,
- "batch_code": "bc102",
- "custom_code": "cc102"
}
], - "uploadChangeService": [
- {
- "line": 1,
- "batch_code": "bc101",
- "custom_code": "cc101",
- "message": "Data qualification by system"
}
]
}
}
{- "id": "1",
- "step": 0,
- "status_id": 0,
- "custom_code": "YOURAPPCODE",
- "batch_code": "bc101",
- "message": "",
- "name": "string",
- "document": "string",
- "bank_code": "string",
- "bank_branch": "string",
- "bank_branch_digit": "string",
- "account": "string",
- "account_digit": "string",
- "account_type": "string",
- "pix_key": "string"
}
A paginated, filterable and sortable list of DataQualification processes.
per_page | integer >= 0 The number of items that will be displayed per page on paginated lists. |
page | integer >= 0 The current page that will be displayed on paginated lists. |
order_by | string Default: "id" Enum: "id" "data_qualification_service_name" "batch_code" "custom_code" "merchant.name" "description_status" "created_at" The field that will be used to sort data. |
sort | string Default: "asc" Enum: "asc" "desc" The sort type, asc or desc |
created_at | string Created at filter:
|
custom_code | string Filter by custom_code (invoice):
|
document | string Filter by the beneficiary's document:
|
data_qualification_service_id | integer Filter by qualification service You can list the available options in the endpoint GET /data-qualification/services |
merchant_id | integer Filter by merchant_id |
status_flow_data_qualification_id | string Filter by status You can list the available options in the endpoint GET /data-qualification/status |
A list with all status available Status Descriptions:
1
- Received: Payment received and stored in our database5
- Valid data: The account data is valid6
- Invalid data: Payment rejected by the bank7
- Validation not possible on this step: The account data provided can not be validated9
- Awaiting - Awaiting balance to be processed999
- Processing: Payment sent for processingper_page | integer >= 0 The number of items that will be displayed per page on paginated lists. |
page | integer >= 0 The current page that will be displayed on paginated lists. |
customCode required | string |
{- "id": 123,
- "batch_code": "abc101",
- "custom_code": "cc102",
- "data_qualification_service_name": "Data validation",
- "status_flow_data_qualification_id": 1,
- "data_qualification_status_flow_name": "Processing",
- "description_status": "Processando",
- "name": "Maria Jose",
- "document": "12345678909",
- "bank_code": "104",
- "bank_branch": "0123",
- "bank_branch_digit": "0",
- "account": "123456",
- "account_digit": "1",
- "account_type_name": "Checking account",
- "amount": 1.1,
- "created_at": "string",
- "updated_at": "string",
- "merchant": {
- "id": "string",
- "name": "string"
}
}