API reference
Create a Tag Payment
Submit an outbound Tag Payment request from your Agent wallet.
https://api.xxpayus.online/api/v1/tag-payments/createAgentTag Payments move real wallet funds. The amount plus Tag Payment fee and platform fee is debited from your available Agent wallet immediately when the request is accepted.
Required scope
Your Developer account and API key must have the tag-payments:create scope. An administrator must explicitly grant this scope.
Idempotency
Every request must include an Idempotency-Key header containing a unique value between 8 and 200 characters. Keep the same key when retrying the same request after a timeout or network failure.
- 1The first successful request creates the Tag Payment and debits the wallet.
- 2Repeating the same request with the same Idempotency-Key returns the original Tag Payment without another wallet debit or duplicate internal processing/notification.
- 3Reusing the same Idempotency-Key with different request data is rejected with HTTP 409.
- 4Generate a new Idempotency-Key only when you intend to create a new Tag Payment.
Request body
| Field | Type | Description |
|---|---|---|
| method | string, required | cashapp, chime, zelle, ach, card, venmo or paypal |
| receiver_tag | string, required | Recipient tag, handle or recipient identifier. Maximum 160 characters. |
| amount | number, required | Requested payout amount in USD. Must be greater than 0. |
| payment_details | object, optional | Additional structured payment details when required by the selected method. |
| notes | string, optional | Internal/request note. Maximum 1000 characters. |
| image_url | string, optional | HTTPS evidence or reference image URL when applicable. |
Response · 201
Retrieve Tag Payment status
https://api.xxpayus.online/api/v1/tag-payments/{id}AgentRetrieve a Tag Payment belonging to your Agent account. Both your Developer account and API key require the tag-payments:read scope. Use the Tag Payment ID returned when creating the request.
A newly submitted Tag Payment remains pending until an administrator reviews it. Approved requests are processed manually by the administrator; approval is not an automatic external payout. Rejected requests are refunded according to the Tag Payment refund process.
Status notifications
- 1tag_payment.completed: sent when an administrator approves the Tag Payment.
- 2tag_payment.failed: sent when an administrator rejects the Tag Payment.
- 3Subscribe to these events under Developers → Webhooks. Verify the HMAC-SHA256 signature before processing notifications.
- 4Webhook notifications may arrive more than once. Use the delivery ID to handle duplicates safely.
Wallet debit & fees
XXPayUS calculates fees on the server from your configured Tag Payment fee. Clients cannot choose or override the fee. total_charge is the amount actually debited from your Agent wallet.
Method availability
Administrator Tag Payment method controls apply to Developer API requests too. A disabled method returns HTTP 403 and no Tag Payment is created.
Important errors
| Status | Meaning |
|---|---|
| 400 | Invalid request, insufficient wallet balance, missing/invalid Idempotency-Key or another business rule failed |
| 401 | Missing, invalid or revoked API credentials |
| 403 | Tag Payment scope is unavailable, the account is not an Agent, or the selected method is disabled |
| 409 | The Idempotency-Key was already used with different request data |
| 429 | API rate limit exceeded |