Skip to main content

Onboarding APIs

Updated: Nov 14, 2025 To receive payments on WhatsApp, you must have a payment configuration linked to the corresponding WhatsApp Business Account. Each payment configuration is associated with a unique name. As part of the order_details message, you can specify the payment configuration to use for a specific checkout. Onboarding APIs allows you to programatically perform certain operations: Get all payment configurations linked to a WhatsApp Business Account. Get a specific payment configuration linked to a WhatsApp Business Account. Create a payment configuration. Regenerate payment gateway oauth link to link payment configuration to a payment gateway. Remove a payment configuration.

Get All Payment Configurations

Get a list of payment configurations linked to the WhatsApp Business Account.

Request Syntax

Sample Request

Sample Response

Get a specific Payment Configuration

Get a specific payment configuration linked to the WhatsApp Business Account.

Request Syntax

Sample Request

Sample Response

Create a Payment Configuration

Create a payment configuration.

Request Syntax

Sample Request

Payment Gateway type configuration

UPI Vpa type configuration

Sample Response

Payment Gateway type configuration

UPI Vpa type configuration

The following section explains how to link, update and delete data endpoint to enable coupons, shipping address and real-time inventory offered by Checkout Button Templates.

Request Syntax

Sample Request

Payment Gateway type configuration

Regenerate oauth link of payment gateway type payment configuration.

Request Syntax

Sample Request

Sample Response

Remove a Payment Configuration

Remove a payment configuration.

Request Syntax

Sample Request

Sample Response

Payment Configuration Webhook

Businesses receive updates via WhatsApp webhooks when the status of the payment configuration changes. To receive webhook, Businesses must subscribe to “payment_configuration_update” event for their respective application. Webhook contains the following fields:

Sample Payment Configuration Webhook

Errors

WhatsApp Payments Terms of Service Acceptance Pending
If you see the following error, accept the WhatsApp Payments terms of service using the link provided in the error message before trying again.
For all other errors that can be returned and guidance on how to handle them, see WhatsApp Cloud API, Error Codes. Did you find this page helpful? Thumbs up icon Thumbs down icon ON THIS PAGE Get All Payment Configurations Request Syntax Sample Request Sample Response Get a specific Payment Configuration Request Syntax Sample Request Sample Response Create a Payment Configuration Request Syntax Sample Request Payment Gateway type configuration UPI Vpa type configuration Sample Response Payment Gateway type configuration UPI Vpa type configuration Link or Update Data Endpoint Request Syntax Sample Request Payment Gateway type configuration Regenerate Payment Configuration OAuth link Request Syntax Sample Request Sample Response Remove a Payment Configuration Request Syntax Sample Request Sample Response Payment Configuration Webhook Sample Payment Configuration Webhook Errors