ReferenceWhatsApp Business API
Payment request
POST
Отправляет интерактивный запрос на оплату (beta) для региона IN, SG или BR.
Форма payload следует документации Meta для региональных платежей; проверьте на stage перед production. Нужно открытое 24-часовое окно сессии.
JWT tokenquery
token<token>application/json- body
phone*integerRecipient phone (digits, country code, no +). Alias: to.
region*stringPayment region. Determines the interactive payload shape.
Value in
"IN""SG""BR"body?stringMessage text shown with the payment request
interactive?Optional Meta interactive payment payload. Forwarded upstream.
action?Optional payment action object when not using interactive.
to?stringRecipient alias for phone (digits, country code, no +).
[key: string]?anySend result
application/json- response
sent?booleanid?stringWABA message id when sent
message?stringregion?stringValue in
"IN""SG""BR"[key: string]?anycurl -X POST 'https://api.1msg.io/123/sendPaymentRequest' \ -H 'Content-Type: application/json' \ -d '{ "phone": 919876543210, "region": "IN", "body": "Please complete the payment"}'{ "sent": true, "id": "wamid.HBgLdemo", "message": "Sent to 919876543210", "region": "IN"}