Theropay offers a set of powerful APIs that help merchants manage their payment processes. These APIs allow you to handle everything from managing payees and setting up payout accounts to tracking and initiating payments.
- Creates a new payee.
Theropay APIs
Payee
The Payees API allows you to manage your payees easily. You can create new payees, update their information, list all payees, or deactivate them when needed. Each payee can be an individual or a business. This API helps keep track of all your payees in one place. Think of it as your digital address book for payments. It ensures that every transaction is sent to the correct and verified recipient, simplifying the payout process for your application.
- application/json
- text/json
- application/*+json
Payee creation request payload.
Tax identifier (optional for individual, required for business payees).
- Mock server
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees
- Production server
https://api.theropay.com/v1/payees
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payeeType": "string",
"name": "string",
"EmailAddress": "string",
"phoneNumber": "string",
"taxId": "string",
"idType": "string",
"address": {
"addressLine": "string",
"state": "string",
"city": "string",
"country": "string",
"postalCode": "string"
},
"dateOfBirth": null
}'No response example- Mock server
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/{id}
- Production server
https://api.theropay.com/v1/payees/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'No response example- Mock server
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/{id}
- Production server
https://api.theropay.com/v1/payees/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payeeType": "individual",
"name": "string",
"EmailAddress": "string",
"phoneNumber": "string",
"taxId": null,
"idType": "string",
"address": {
"addressLine": "string",
"state": "string",
"city": "string",
"country": "string",
"postalCode": "string"
},
"dateOfBirth": "2019-08-24"
}'No response example- Mock server
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/list
- Production server
https://api.theropay.com/v1/payees/list
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/api/v1/payees/list \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payeeType": "individual",
"name": "string",
"EmailAddress": "string",
"phoneNumber": "string",
"taxId": null,
"idType": "string",
"address": {
"addressLine": "string",
"state": "string",
"city": "string",
"country": "string",
"postalCode": "string"
},
"dateOfBirth": "2019-08-24"
}'No response examplePayee Accounts
The Payee Accounts API allows merchants to manage the bank or payout accounts linked to their payees. It enables creating, updating, and retrieving payout account details securely. Each payee can have one or more accounts associated for receiving funds. Use these endpoints to validate account information and ensure smooth disbursements. This API acts as the secure layer between your system and the banks, handling sensitive financial data.
Payouts
The Payouts API allows merchants to send money to their payees securely and efficiently. You can create new payouts, check their status, and cancel them if needed before processing. Each payout is linked to a registered payee and a payout account. The API supports listing all payouts with optional filters like status. Responses include detailed information about the payout, such as amount, currency, and current status. Use this API to manage your outgoing payments in a reliable and predictable way.