These are the main endpoints used by partners. They allow you to create payment requests and check payment status. Partners can only access data for merchants linked to them. All requests must include a valid access token
Partners
//
Create a new payment Requ...
Overview
The Partners API enables authorized integration partners to collaborate with associated merchants.
Payment requests, payees, and payment status can all be created by partners.
OAuth2 Client Credentials are used to grant secure access.
For More Information Please read the full Partner Integration Guide here:
Download OpenAPI description
Overview
API Support
Languages
Servers
Mock server
https://docs.theropay.co/_mock/theropay/docs/reference/partners
Sandbox Server
https://devapi.theropay.co
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/api/v1/generate-token
- Sandbox Serverhttps://devapi.theropay.co/api/v1/generate-token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/partners/api/v1/generate-token \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"clientId": "string",
"clientSecret": "string"
}'Response
application/json
{ "clientId": "string", "clientSecret": "string" }
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/partner/list
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/partner/list
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/partner/list?partnerId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "message": [ "string" ], "data": [ { … } ] }
Body
- application/json
- text/json
- application/*+json
Request object containing payee and payment method details.
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/recipient-ach
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/recipient-ach
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/recipient-ach \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"name": "string",
"phone": "string",
"type": "INDIVIDUAL",
"paymentMethodType": "string",
"partnerId": 0,
"merchantId": 0,
"ach": {
"accountNumber": "string",
"bankAccountType": "CHECKING",
"bankName": "string",
"routingNumber": "string",
"address": {
"city": "string",
"countryCode": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string",
"type": "RESIDENCE"
}
}
}'Response
application/json
{ "email": "string", "name": "string", "phone": "string", "type": "string", "paymentMethodType": "string", "partnerId": 0, "merchantId": 0, "ach": { "accountNumber": "string", "bankAccountType": "string", "bankName": "string", "routingNumber": "string", "address": { … } } }
Body
- application/json
- text/json
- application/*+json
(Required) Payment method type.
Enum"DOMESTIC_WIRE""INTERNATIONAL_WIRE"
(Required) Beneficiary financial institution ID type.
Enum"ABA""BIC"
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/recipient-wire
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/recipient-wire
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/recipient-wire \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "user@example.com",
"name": "string",
"phone": "string",
"type": "INDIVIDUAL",
"paymentMethodType": "DOMESTIC_WIRE",
"partnerId": 0,
"merchantId": 0,
"wire": {
"receiverRoutingNumber": "string",
"beneficiaryAccountNumber": "string",
"beneficiaryFIName": "string",
"type": "DOMESTIC",
"receiverShortName": "string",
"beneficiaryFIIdType": "ABA",
"beneficiaryIdNumber": "string",
"intermediaryFIName": "string",
"intermediaryFIIdNumber": "string",
"intermediaryFIIdType": "ABA",
"intermediaryFIAddress": {
"city": "string",
"countryCode": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string",
"type": "RESIDENCE"
},
"address": {
"city": "string",
"countryCode": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string",
"type": "RESIDENCE"
},
"beneficiaryFIAddress": {
"city": "string",
"countryCode": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string",
"type": "RESIDENCE"
}
}
}'Response
application/json
{ "email": "string", "name": "string", "phone": "string", "type": "string", "paymentMethodType": "string", "partnerId": 0, "merchantId": 0, "wire": { "receiverRoutingNumber": "string", "beneficiaryAccountNumber": "string", "beneficiaryFIName": "string", "type": "string", "receiverShortName": "string", "beneficiaryFIIdType": "string", "beneficiaryIdNumber": "string", "intermediaryFIName": "string", "intermediaryFIIdNumber": "string", "intermediaryFIIdType": "string", "intermediaryFIAddress": { … }, "address": { … }, "beneficiaryFIAddress": { … } } }
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/payees
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/payees
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/payees?MerchantId=0&PartnerId=0&PayeeType=string&PaymentNetworkRailPayeeId=0&SearchText=string&PayeePaymentMethodType=string&PageNumber=0&PageSize=0&Route=string&SortProperty=string&IsDescending=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "MerchantId": 0, "PartnerId": 0, "PayeeType": "string", "SearchText": "string", "PayeePaymentMethodType": "string", "PageNumber": 0, "PageSize": 0, "Route": "string", "SortProperty": "string", "IsDescending": true }
Body
- application/json
- text/json
- application/*+json
(Required) Payment method type
Enum"STANDARD""SAME_DAY""DOMESTIC_WIRE""INTERNATIONAL_WIR"
(Required) Description of the payment (max 500 chars).
(Required) Merchant ID under which this payment is initiated.
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/payment_request
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/payment_request
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/payment_request \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"payeeId": 0,
"merchantAccountNumber": "string",
"amount": 0.01,
"currency": "string",
"paymentMethodType": "STANDARD",
"description": "string",
"externalId": "string",
"internalNote": "string",
"partnerId": 0,
"merchantId": 0,
"partnerPaymentUniqueId": "string"
}'Response
application/json
{ "payeeId": 0, "amount": 0, "currency": "string", "paymentMethodType": "string", "description": "string", "partnerId": 0, "merchantId": 0, "partnerPaymentUniqueId": "string" }
- Mock serverhttps://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/partner/search_transactions
- Sandbox Serverhttps://devapi.theropay.co/finance/v1/partner/search_transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.theropay.co/_mock/theropay/docs/reference/partners/finance/v1/partner/search_transactions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pageNumber": 0,
"pageSize": 0,
"route": "string",
"sortProperty": "string",
"isDescending": true,
"partnerId": 0,
"paymentId": 0,
"merchantId": 0
}'Response
application/json
{ "partnerId": 0, "paymentId": 0, "merchantId": 0, "pageNumber": 0, "pageSize": 0 }