API reference

Create a Tag Payment

Submit an outbound Tag Payment request from your Agent wallet.

POSThttps://api.xxpayus.online/api/v1/tag-payments/createAgent

Tag 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.

  1. 1The first successful request creates the Tag Payment and debits the wallet.
  2. 2Repeating the same request with the same Idempotency-Key returns the original Tag Payment without another wallet debit or duplicate internal processing/notification.
  3. 3Reusing the same Idempotency-Key with different request data is rejected with HTTP 409.
  4. 4Generate a new Idempotency-Key only when you intend to create a new Tag Payment.

Request body

FieldTypeDescription
methodstring, requiredcashapp, chime, zelle, ach, card, venmo or paypal
receiver_tagstring, requiredRecipient tag, handle or recipient identifier. Maximum 160 characters.
amountnumber, requiredRequested payout amount in USD. Must be greater than 0.
payment_detailsobject, optionalAdditional structured payment details when required by the selected method.
notesstring, optionalInternal/request note. Maximum 1000 characters.
image_urlstring, optionalHTTPS evidence or reference image URL when applicable.
Cash App example
curl -X POST https://api.xxpayus.online/api/v1/tag-payments/create \
  -H "X-API-Key: xxp_pk_your_key_id" \
  -H "X-API-Secret: $XXPAYUS_API_SECRET" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1234-tag-payment-1" \
  -d '{
    "method": "cashapp",
    "receiver_tag": "$customer",
    "amount": 100,
    "notes": "Order #1234"
  }'
ACH example
curl -X POST https://api.xxpayus.online/api/v1/tag-payments/create \
  -H "X-API-Key: xxp_pk_your_key_id" \
  -H "X-API-Secret: $XXPAYUS_API_SECRET" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1235-ach-1" \
  -d '{
    "method": "ach",
    "receiver_tag": "Customer",
    "amount": 100,
    "payment_details": {
      "account_name": "Customer Name"
    },
    "notes": "Order #1235"
  }'

Response · 201

json
{
  "tag_payment_id": "8f61d03b-…",
  "transaction_id": "TAGREQ-A1B2C3D4E5",
  "method": "cashapp",
  "receiver_tag": "$customer",
  "amount": 100,
  "tag_payment_fee": 3,
  "platform_fee": 0.40,
  "total_charge": 103.40,
  "status": "pending",
  "created_at": "2026-11-02T16:00:00.000Z"
}

Retrieve Tag Payment status

GEThttps://api.xxpayus.online/api/v1/tag-payments/{id}Agent

Retrieve 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.

Check Tag Payment status
curl https://api.xxpayus.online/api/v1/tag-payments/YOUR_TAG_PAYMENT_ID \
  -H "X-API-Key: xxp_pk_your_key_id" \
  -H "X-API-Secret: $XXPAYUS_API_SECRET"

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

  1. 1tag_payment.completed: sent when an administrator approves the Tag Payment.
  2. 2tag_payment.failed: sent when an administrator rejects the Tag Payment.
  3. 3Subscribe to these events under Developers → Webhooks. Verify the HMAC-SHA256 signature before processing notifications.
  4. 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

StatusMeaning
400Invalid request, insufficient wallet balance, missing/invalid Idempotency-Key or another business rule failed
401Missing, invalid or revoked API credentials
403Tag Payment scope is unavailable, the account is not an Agent, or the selected method is disabled
409The Idempotency-Key was already used with different request data
429API rate limit exceeded