For Developers
Create Payee
Create a new payee (aka payee) for future payments to be sent to
POST
/
payments
/
payees
Copy
Ask AI
curl --request POST \
--url https://agent.payman.ai/api/payments/payees \
--header 'Content-Type: application/json' \
--header 'x-payman-api-secret: <api-key>' \
--data '{
"type": "CRYPTO_ADDRESS",
"address": "<string>",
"chain": "<string>",
"currency": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>",
"address": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>",
"addressLine4": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"taxId": "<string>"
}
}'
Copy
Ask AI
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"providerInfo": {},
"name": "<string>",
"organizationId": "<string>",
"tags": [
"<string>"
],
"type": "US_ACH",
"payeeDetails": {},
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>",
"address": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>",
"addressLine4": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"taxId": "<string>"
},
"status": "ACTIVE",
"searchHashes": {},
"replacesId": "<string>"
}
Payment Destination Types
US_ACH
- US Bank AccountCRYPTO_ADDRESS
- Cryptocurrency AddressPAYMAN_WALLET
- Payman Wallet (Coming Soon)
Authorizations
Body
application/json
A cryptocurrency address-based payee
A cryptocurrency address-based payee
A Payman Wallet payee
A Test Dollar payee
A US ACH payee
Response
200
application/vnd.payman.v1+json
The payment was successful.
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://agent.payman.ai/api/payments/payees \
--header 'Content-Type: application/json' \
--header 'x-payman-api-secret: <api-key>' \
--data '{
"type": "CRYPTO_ADDRESS",
"address": "<string>",
"chain": "<string>",
"currency": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>",
"address": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>",
"addressLine4": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"taxId": "<string>"
}
}'
Copy
Ask AI
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"providerInfo": {},
"name": "<string>",
"organizationId": "<string>",
"tags": [
"<string>"
],
"type": "US_ACH",
"payeeDetails": {},
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>",
"address": {
"addressLine1": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>",
"addressLine4": "<string>",
"locality": "<string>",
"region": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"taxId": "<string>"
},
"status": "ACTIVE",
"searchHashes": {},
"replacesId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.