Email

Tạo cấu hình email

Tạo ở trạng thái chưa hoạt động nếu còn địa chỉ chưa xác minh. Hệ thống tự gửi mã 6 số, hạn 15 phút, tới từng địa chỉ mới.

post/api/v1/email-configs

Request

  • Base URL: https://api.monapay.vn
  • URL: https://api.monapay.vn/api/v1/email-configs
  • Auth: HTTP bearer and API key in header X-Client-Secret

Headers

Idempotency-Keystring

TTL 24 giờ; cùng key khác body trả 409.

Request body

namestring required
recipientsstring[] required
eventsstring[]
virtual_account_idstring uuid nullable

Example request

{
  "name": "Ke toan",
  "recipients": [
    "ketoan@example.com"
  ],
  "events": [
    "TRANSACTION_IN",
    "WEBHOOK_FAILED"
  ]
}

Response

data có pending_verification cho địa chỉ còn chờ mã.

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.