# Grabpay

**One of the most recognizable lifestyle "Superapp" in** **Southeast Asia** **boasting over 100 million users, GrabPay offers a variety of services including ride hailing, food and grocery services, hotel and travel recommendations, investment and insurance, and online payments, with each consumer activity supported by a robust GrabPay rewards and promotion offering.**

## **Features**

| Processing currencies      | MYR       |
| -------------------------- | --------- |
| Settlement currencies      | USD       |
| Minimum transaction amount | 0.01 MYR  |
| Maximum transaction amount | 2,500 MYR |
| Refunds                    | ❌         |
| Partial Refunds            | ❌         |
| Multiple partial refund    | ❌         |
| Chargeback                 | ❌         |

# **Integration Method**

**Payment method enumeration values:** **`grabpay`**

**There is integration method for Grabpay**

1. Direct API

## **Direct** **API** 

### **How to integration**

For direct API integration, you can create a PaymentIntent and get url in only one step. The following is the demo of creating payment intent:

[**Create a PaymentIntent**](api-42631218)

A PaymentIntent is an object that represents your intent to collect payment from your customer and tracks the lifecycle of the payment process. Create a PaymentIntent on your server and specify the amount to collect and a supported currency. If you have an existing Payment Intents integration, add **`grabpay`** to the list of payment method types.

***Request***  

```JSON
{
    "amount":1050,
    "currency":"MYR",
    "confirm":true,
    "payment_method_data" : {
        "type":"grabpay"
    },
    "description": "product description",
    "return_url":"https://your.website"
}
```

***Response***

```JSON
{
    "id": "pi_1747105972314177536",
    "object": "payment_intent",
    "created": 1705377498000,
    "livemode": true,
    "currency": "MYR",
    "amount": 1050,
    "status": "requires_action",
    "description": "product description",
    "client_secret": "pi_1747105972314177536_secret_TOwlzZT3bs6oRF1xVxFY621q",
    "next_action": {
        "type": "grabpay_handle_redirect",
        "grabpay_handle_redirect": {
            "url": "https://api.wooshpay.com/v1/receives/c8/pay/c1747105972469366784"
        }
    },
    "payment_method_types": ["grabpay"],
    "confirmation_method": "automatic",
    "return_url": "https://your.website",
    "payment_method": "pm_1747105972209319936",
    "capture_method": "automatic"
}
```

# **Next step**

You can add more features to your integration as needed

## [Create a Webhook](doc-2517709)

Listen to events on your WooshPay account so your integration can automatically trigger reactions. Create a webhook that mainly focuses on enabled_events and url.

## [Create a Refund](api-51369554)

Create a refund to repay funds to your customer. You can also perform partial refunds, but not every payment method supports them. A partial refund is when you refund only part of the original transaction amount.
