Integrate PayBridge payment gateway into your website or application.
Accept payments on your WordPress/WooCommerce store with our easy-to-install plugin.
Build custom integrations using our REST API.
Login to your PayBridge account, go to Merchants section, and create a new merchant app to get your Client ID and Secret.
POST https://paybridge.my/merchant/api/verify
Content-Type: application/json
{
"client_id": "your_client_id",
"client_secret": "your_client_secret"
}
POST https://paybridge.my/merchant/api/transaction-info
Authorization: Bearer {access_token}
Content-Type: application/json
{
"amount": "100.00",
"currency": "MYR",
"payer": "Mts",
"successUrl": "https://yoursite.com/success",
"cancelUrl": "https://yoursite.com/cancel"
}
Use the approvalUrl from the response to redirect your customer to the payment page.
| Endpoint | Method | Description |
|---|---|---|
| /merchant/api/verify | POST | Get access token |
| /merchant/api/transaction-info | POST | Create payment transaction |
| /merchant/payment | GET | Payment page |
| /merchant/payment/success | GET | Payment success callback |
| /merchant/payment/cancel | GET | Payment cancel callback |
Contact our support team at support@paybridge.my