Create Payment Configuration

Create a new payment gateway configuration for WhatsApp payments. This endpoint allows businesses to
set up payment providers (such as PayU, RazorPay, etc.) with OAuth-based authentication and
required merchant details for processing payments through WhatsApp.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request payload for creating a payment gateway configuration

string
required

Unique name for the payment configuration. This identifier will be used to reference the configuration in payment operations.

string
required

Name of the payment gateway provider (e.g., PayU, RazorPay, etc.)

uri
required

The callback URL where users will be redirected after completing OAuth authentication with the payment provider. Must be a valid HTTPS URL.

string
required

Merchant Category Code (MCC) for the business. Used to classify the type of business and transactions.

string
required

Purpose code indicating the nature of the payment transaction as per regulatory requirements.

Headers
string
enum
required

Defines the content type of the request body. Must be application/json.

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json