Additional Support For Payment Methods

Additional support features available for card and more.


The Razorpay iOS Custom SDK lets you integrate the supported payment methods on your iOS app's Checkout form.

Use the

to fetch the payment methods available for your account.

Below are the sample payloads for each payment method.

Add the following code where you want to initiate an PayNow payment:

let options: [String: Any] = [
"amount": 100, // amount in currency subunits. Defaults to SGD. 100 = 100 cents = SGD 1.
"currency": "SGD", // We support international currencies.
"email": "alex.lim@example.com",
"contact": "+6591119111",
"order_id": "order_DBJOWzybf0sJbb",
"method": "paynow",
"bank": "HSBC",
"callback_url": "https://en1mwkqo5ioct.x.pipedream.net/",
"redirect": true
]
razorpay.authorize(options)

Add the following code where you want to initiate a card payment:

let options: [String: Any] = [
"amount": 100, // amount in currency subunits. Defaults to SGD. 100 = 100 cents = SGD 1.
"currency": "SGD", // We support international currencies.
"email": "alex.lim@example.com",
"contact": "+6591119111",
"order_id": "order_DBJOWzybf0sJbb",
"method": "card",
"card[name]": "Alex Lim",
"card[number]": "5272008806235705",
"card[expiry_month]": 06,
"card[expiry_year]": 30,
"card[cvv]": "123"
]
razorpay.authorize(options)

Check the

.

Add the following code where you want to initiate a wallet payment:

let options = [
"amount": "100",
"currency": "SGD",
"email": "alex.lim@example.com",
"order_id": "order_4xbQrmEoA5WJ0G",
"contact": "+6591119111",
"method": "wallet",
"wallet": "touchngo",
]
razorpay.authorize(options)

Is this integration guide useful?