Overview of the Wallet payment response object.
Shown below is a sample response for a Create Payment API using the Wallet
method.
{
"data": {
"order_id": "v1-241108065317-aa-zqaZCr",
"merchant_order_reference": "d1bc3469-672b-478f-b935-b385dda1a3a0",
"type": "CHARGE",
"status": "PENDING",
"challenge_url": "https://api.pluralpay.in/web/auth/wallet/billdesk?token=v1-241114140627-aa-8Ujllu-wa-C",
"merchant_id": "110553",
"order_amount": {
"value": 100,
"currency": "INR"
},
"pre_auth": false,
"purchase_details": {
"customer": {
"email_id": "[email protected]",
"first_name": "Kevin",
"last_name": "Bob",
"customer_id": "192212",
"mobile_number": "9876543210",
"billing_address": {
"address1": "H.No 15, Sector 17",
"pincode": "61232112",
"city": "CHANDIGARH",
"state": "PUNJAB",
"country": "INDIA"
},
"shipping_address": {
"address1": "H.No 15, Sector 17",
"address2": "",
"address3": "",
"pincode": "144001123",
"city": "CHANDIGARH",
"state": "PUNJAB",
"country": "INDIA"
}
},
"merchant_metadata": {
"key1": "DD",
"key2": "XOF"
}
},
"payments": [
{
"id": "v1-241108065317-aa-zqaZCr-nb-T",
"status": "PENDING",
"payment_amount": {
"value": 100,
"currency": "INR"
},
"payment_method": "WALLET",
"acquirer_data": {
"approval_code": "",
"acquirer_reference": "USBI0001265227",
"rrn": "",
"is_aggregator": true
},
"created_at": "2024-11-08T06:53:32.527Z",
"updated_at": "2024-11-08T06:53:33.271Z"
}
],
"created_at": "2024-11-08T06:53:17.603Z",
"updated_at": "2024-11-08T06:53:33.272Z",
"integration_mode": "SEAMLESS"
}
}
The table below lists the various parameters returned in the payments response object.
Parameter | Type | Description |
---|---|---|
order_id | string | Unique identifier of the order in the Plural database. Example: v1-241108065317-aa-zqaZCr |
merchant_order_reference | string | Unique identifier entered while creating a order.
d1bc3469-672b-478f-b935-b385dda1a3a0 |
type | string | Payment type. Possible values:
|
status | string | Order status. Possible values:
|
challenge_url | string | Use the generated challenge_url URL to navigate your users to the checkout page. |
merchant_id | string | Unique identifier of the merchant in Plural database. Example: 123456 |
order_amount | object | An object that contains the order amount details. Learn more about our order_amount child object. |
pre_auth | boolean | The pre-authorization type. Possible values:
false Learn more about our pre-authorization.. Note: Pre authorization is not supported for Net Banking. |
notes | string | The note you want to show against an order. Example: Order1 |
callback_url | string | Use this URL to redirect your customers to specific success or failure pages based on the order or product details. Example: https\://sample-callback-url |
purchase_details | object | An object that contains the purchase details. Learn more about our purchase_details child object.Note: The presence of the key-values pairs in this object depends on the Input request. |
payments | array of objects | An array of object that contains the payment details. Learn more about our payments child object.Note: Payments response object can vary based on the payment methods and payment status. |
created_at | string | The ISO 8601 UTC Timestamp, when the create order request was received by Plural. Example: 2024-11-08T06:53:17.603Z |
updated_at | string | The ISO 8601 UTC Timestamp, when the order response object is updated. Example: 2024-11-08T06:53:33.272Z |
integration_mode | string | Type of integration. Accepted values:
Example: SEAMLESS |
Order Amount [Child Object]
The table below lists the various parameters in the order_amount
child object. This object is part of the payments sample response object.
Parameter | Type | Description |
---|---|---|
value | integer | The transaction amount is Paisa.
100 |
currency | string | Type of currency. Example: INR |
Purchase Details [Child Object]
The table below lists the various parameters in the purchase_details
child object. This object is part of the payments sample response object.
Parameter | Type | Description |
---|---|---|
customer | Object | An object that contains the customer details. Learn more about our customer child object. |
merchant_metadata | object | An object of key-value pair that can be used to store additional information. Example: "key1": "DD" |
Customer [Child Object]
The table below lists the various parameters in the customer
child object. This is part of the purchase_details
object.
Parameter | Type | Description |
---|---|---|
email_id | string | Customer's email address.
[email protected] |
first_name | string | Customer's first name.
Kevin |
last_name | string | Customer's last name.
Bob |
customer_id | string | Unique identifier of the customer in the Plural database.
123456 |
mobile_number | string | Customer's mobile number.
9876543210 |
billing_address | object | An object that contains the details of the billing address. Learn more about our billing_address child object. |
shipping_address | object | An object that contains the shipping address details. Learn more about our shipping_address child object. |
Billing Address [Child Object]
The table below lists the various parameters in the billing_address
child object. This is part of the customer
object.
Parameter | Type | Description |
---|---|---|
address1 | string | Customer's billing address1.
10 Downing Street Westminster London |
address2 | string | Customer's billing address2.
Oxford Street Westminster London |
address3 | string | Customer's billing address3.
Baker Street Westminster London |
pincode | string | Pincode of the billing address.
51524036 |
city | string | City of the billing address.
Westminster |
state | string | State of the billing address.
Westminster |
country | string | Country of the billing address.
London |
Shipping Address [Child Object]
The table below lists the various parameters in the shipping_address
child object. This is part of the customer
object.
Parameter | Type | Description |
---|---|---|
address1 | string | Customer's shipping address1.
10 Downing Street Westminster London |
address2 | string | Customer's shipping address2.
Oxford Street Westminster London |
address3 | string | Customer's shipping address3.
Baker Street Westminster London |
pincode | string | Pincode of the shipping address.
51524036 |
city | string | City of the shipping address.
Westminster |
state | string | State of the shipping address.
Westminster |
country | string | Country of the shipping address.
London |
Payments [Child Object]
The table below lists the various parameters in the payments
child object. This object is part of the payments sample response object.
Parameter | Type | Description |
---|---|---|
id | string | Unique identifier of the payment in the Plural database.
v1-241108065317-aa-zqaZCr-nb-T |
status | string | Payment status. Possible values:
PENDING |
payment_amount | object | An object that contains the details of the payment amount. Learn more about our payment_amount child object. |
payment_method | string | Type of payment method. Accepted values:
WALLET |
acquirer_data | object | An object that contains the details of the acquirer data. Learn more about our acquirer_data child object. |
error_detail | object | An object that contains the error details. Learn more about our error_detail child object.Note: This object is returned only for the failed payment. |
created_at | string | The ISO 8601 UTC Timestamp, when the create payment request was received by Plural. Example: 2024-07-11T06:52:12.484Z |
updated_at | string | The ISO 8601 UTC Timestamp, when the payment response object is updated. Example: 2024-07-11T06:59:38.260Z |
Payment Amount [Child Object]
The table below lists the various parameters in the payment_amount
child object. This object is part of the payments
object.
Parameter | Type | Description |
---|---|---|
value | integer | The transaction amount is Paisa.
100 |
currency | string | Type of currency. Example: INR |
Acquirer Data [Child Object]
The table below lists the various parameters in the acquirer_data
child object. This object is part of the payments
object.
Parameter | Type | Description |
---|---|---|
approval_code | string | Authorization code returned from acquirer against the payment. Example: 030376 |
acquirer_reference | string | Unique reference returned from acquirer for the payment. Example: 202455840588334 |
rrn | string | Retrieval reference number returned from acquirer for the payment. Example: 419335023601 |
is_aggregator | boolean | The selected aggregator model type. Accepted values:
|
Error Detail [Child Object]
The table below lists the various parameters in the error_detail
child object. This object is part of the payments
object.
Parameter | Type | Description |
---|---|---|
code | string | The error short Code. Example: PAYMENT_DECLINED |
message | string | Error description explaining the why the error occured. Example: Transaction declined due to insufficient balance |