v1
latestOpenAPI 3.1.02026-07-2616459400.5 KBWhatsApp Payments
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.
post/v2/payments/configuration
Headers
Content-Type'application/json' required
Defines the content type of the request body. Must be application/json.
Request body
Example request
{
"configuration_name": "ravi_test2",
"provider_name": "PayU",
"redirect_url": "https://exampleravi.com/oauth",
"merchant_category_code": "0000",
"purpose_code": "00",
"merchant_vpa": "rohanagarwalaxis@sksk"
}Response
Payment configuration created successfully
Example response
{
"status": "success",
"message": "Payment configuration created successfully",
"data": {
"configuration_name": "ravi_test2",
"provider_name": "PayU",
"redirect_url": "https://exampleravi.com/oauth",
"merchant_category_code": "0000",
"purpose_code": "00",
"status": "active"
}
}