Initiate a Payment [v3]
This API helps you initiate a payment for the order that you have created. You need to call this API after your customer has chosen their payment mode and has provided all the information required to initiate the payment with that mode.
Request Body required
- credit_card
- debit_card
- prepaid_card
- upi
- pay_later
- netbanking
- wallet
- payment_app
- credit_card_emi
- debit_card_emi
- loyalty_points
- card_pan
- merchant_network_token
- nimbbl_token_id
- Get the Nimbbl Public key for encryption. To get the Nimbbl public key reach out to us at
help@nimbbl.biz
. - Format the Card details in the format :
{"card_no":"4111111111111111","cvv":"123","card_holder_name":"test","expiry":"11/22"}
- Encrypt the above card details using the RSA encryption.
- card_pan
- merchant_network_token
- nimbbl_token_id
- Get the Nimbbl Public key for encryption. To get the Nimbbl public key reach out to us at
help@nimbbl.biz
. - Format the Card details in the format :
{"card_no":"4111111111111111","cvv":"123","card_holder_name":"test","expiry":"11/22"}
- Encrypt the above card details using the RSA encryption.
- card_pan
- merchant_network_token
- nimbbl_token_id
- Get the Nimbbl Public key for encryption. To get the Nimbbl public key reach out to us at
help@nimbbl.biz
. - Format the Card details in the format :
{"card_no":"4111111111111111","cvv":"123","card_holder_name":"test","expiry":"11/22"}
- Encrypt the above card details using the RSA encryption.
- intent
- qr
- collect
- card_pan
- merchant_network_token
- nimbbl_token_id
- Get the Nimbbl Public key for encryption. To get the Nimbbl public key reach out to us at
help@nimbbl.biz
. - Format the Card details in the format :
{"card_no":"4111111111111111","cvv":"123","card_holder_name":"test","expiry":"11/22"}
- Encrypt the above card details using the RSA encryption.
- card_pan
- merchant_network_token
- nimbbl_token_id
- Get the Nimbbl Public key for encryption. To get the Nimbbl public key reach out to us at
help@nimbbl.biz
. - Format the Card details in the format :
{"card_no":"4111111111111111","cvv":"123","card_holder_name":"test","expiry":"11/22"}
- Encrypt the above card details using the RSA encryption.
The order_id for which the payment is being made
This is the payment mode code chosen by the customer to pay for your order
Possible values: [card_pan
, merchant_network_token
, nimbbl_token_id
]
This field specifies whether the transaction will be performed via plain card, network token or using nimbbl token
card object
This object will have the details of the plain card
This is the card number typically between 15-19 digits, you should only pass this from your server if you are PCI-DSS certified
This expiry date of the card, it should be of the current month or future. You should only pass this from your server if you are PCI-DSS certified
This is the name of the card holder, you should only pass this from your server if you are PCI-DSS certified
This is a 3 or 4 digit number provided at the back of the card, you should only pass this from your server if you are PCI-DSS certified
This is an optional field and will be used to create a card token for the card details passed in the payload. The saved card will be returned in the Payment modes API.
This is an optional field used to provide the name for the saved card token
If you don't have PCI-DSS, you can always encrypt the card details on your client and send us the encrypted string in this key.
Steps for encryption
card object
This object will have the details of the network token
The network generated at your end.
This is a 3 or 4 digit number provided at the back of the card
The expiry details of the token
These are the last 4 digits of the tokenized card
The cryptogram value for the token. This will be provided by the entity which provided the token.
The id provided by the networks for generating the token.
The reference number generated while generating the token.
The network of the card
The issuer of the card
Possible values: [retail
, corporate
]
The type of the card
Possible values: [domestic
, international
]
The geography of the card
card object
This object will have the details of the nimbbl token
This field is used to pass the nimbbl token when the card is tokenized at nimbbl
This is a 3 or 4 digit number provided at the back of the card. If cvv_required is false, then we expect you to pass random cvv.
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
Possible values: [card_pan
, merchant_network_token
, nimbbl_token_id
]
This field specifies whether the transaction will be performed via plain card, network token or using nimbbl token
card object
This object will have the details of the plain card
This is the card number typically between 15-19 digits, you should only pass this from your server if you are PCI-DSS certified
This expiry date of the card, it should be of the current month or future. You should only pass this from your server if you are PCI-DSS certified
This is the name of the card holder, you should only pass this from your server if you are PCI-DSS certified
This is a 3 or 4 digit number provided at the back of the card, you should only pass this from your server if you are PCI-DSS certified
This is an optional field and will be used to create a card token for the card details passed in the payload. The saved card will be returned in the Payment modes API.
This is an optional field used to provide the name for the saved card token
If you don't have PCI-DSS, you can always encrypt the card details on your client and send us the encrypted string in this key.
Steps for encryption
card object
This object will have the details of the network token
The network generated at your end.
This is a 3 or 4 digit number provided at the back of the card
The expiry details of the token
These are the last 4 digits of the tokenized card
The cryptogram value for the token. This will be provided by the entity which provided the token.
The id provided by the networks for generating the token.
The reference number generated while generating the token.
The network of the card
The issuer of the card
Possible values: [retail
, corporate
]
The type of the card
Possible values: [domestic
, international
]
The geography of the card
card object
This object will have the details of the nimbbl token
This field is used to pass the nimbbl token when the card is tokenized at nimbbl
This is a 3 or 4 digit number provided at the back of the card. If cvv_required is false, then we expect you to pass random cvv.
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
Possible values: [card_pan
, merchant_network_token
, nimbbl_token_id
]
This field specifies whether the transaction will be performed via plain card, network token or using nimbbl token
card object
This object will have the details of the plain card
This is the card number typically between 15-19 digits, you should only pass this from your server if you are PCI-DSS certified
This expiry date of the card, it should be of the current month or future. You should only pass this from your server if you are PCI-DSS certified
This is the name of the card holder, you should only pass this from your server if you are PCI-DSS certified
This is a 3 or 4 digit number provided at the back of the card, you should only pass this from your server if you are PCI-DSS certified
This is an optional field and will be used to create a card token for the card details passed in the payload. The saved card will be returned in the Payment modes API.
This is an optional field used to provide the name for the saved card token
If you don't have PCI-DSS, you can always encrypt the card details on your client and send us the encrypted string in this key.
Steps for encryption
card object
This object will have the details of the network token
The network generated at your end.
This is a 3 or 4 digit number provided at the back of the card
The expiry details of the token
These are the last 4 digits of the tokenized card
The cryptogram value for the token. This will be provided by the entity which provided the token.
The id provided by the networks for generating the token.
The reference number generated while generating the token.
The network of the card
The issuer of the card
Possible values: [retail
, corporate
]
The type of the card
Possible values: [domestic
, international
]
The geography of the card
card object
This object will have the details of the nimbbl token
This field is used to pass the nimbbl token when the card is tokenized at nimbbl
This is a 3 or 4 digit number provided at the back of the card. If cvv_required is false, then we expect you to pass random cvv.
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
Possible values: [intent
, qr
, collect
]
This is the flow of the UPI payment mode
Possible values: [gpay
, phonepe
, paytm
]
Specifies the UPI app that you want to open for the flow, the API will respond with an app specific intent URL. If it's not passed, the response will contain the generic intent URL.
Possible values: Value must match regular expression [a-zA-Z0-9.\-_]{2,256}@[a-zA-Z]{2,64}
This is the UPI id of the customer
Possible values: [freecharge_pay_later
, lazypay
, simpl
]
This is the code of the pay later as provided in the v3/payment-modes API call
This is the scheme id provided in the v3/payment-modes API call, it provides information on which financing plan has the customer chosen
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
This is the bank code shared in response of /v3/list-of-banks API. Please share the code of the bank as chosen by the customer
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
This is the wallet code shared in response of /v3/list-of-wallets API. Please share the code of the wallet as chosen by the customer
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
This is the payment app code shared in response of /api/v3/payment-modes API. Please share the code of the app as chosen by the customer
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
This is the number of EMI installments.
Possible values: [daily
, weekly
, monthly
]
This is the frequency of payments.
Possible values: [card_pan
, merchant_network_token
, nimbbl_token_id
]
This is the type of card input (e.g., card_pan).
card object
This object will have the details of the plain card
This is the card number typically between 15-19 digits, you should only pass this from your server if you are PCI-DSS certified
This expiry date of the card, it should be of the current month or future. You should only pass this from your server if you are PCI-DSS certified
This is the name of the card holder, you should only pass this from your server if you are PCI-DSS certified
This is a 3 or 4 digit number provided at the back of the card, you should only pass this from your server if you are PCI-DSS certified
This is an optional field and will be used to create a card token for the card details passed in the payload. The saved card will be returned in the Payment modes API.
This is an optional field used to provide the name for the saved card token
If you don't have PCI-DSS, you can always encrypt the card details on your client and send us the encrypted string in this key.
Steps for encryption
card object
This object will have the details of the network token
The network generated at your end.
This is a 3 or 4 digit number provided at the back of the card
The expiry details of the token
These are the last 4 digits of the tokenized card
The cryptogram value for the token. This will be provided by the entity which provided the token.
The id provided by the networks for generating the token.
The reference number generated while generating the token.
The network of the card
The issuer of the card
Possible values: [retail
, corporate
]
The type of the card
Possible values: [domestic
, international
]
The geography of the card
card object
This object will have the details of the nimbbl token
This field is used to pass the nimbbl token when the card is tokenized at nimbbl
This is a 3 or 4 digit number provided at the back of the card. If cvv_required is false, then we expect you to pass random cvv.
This is the URL to which the status of the transaction and control will be redirected. The URL should be HTTPS. This URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, and Payment Apps.
This is the number of EMI installments.
Possible values: [daily
, weekly
, monthly
]
This is the frequency of payments.
Possible values: [card_pan
, merchant_network_token
, nimbbl_token_id
]
This is the type of card input (e.g., card_pan).
card object
This object will have the details of the plain card
This is the card number typically between 15-19 digits, you should only pass this from your server if you are PCI-DSS certified
This expiry date of the card, it should be of the current month or future. You should only pass this from your server if you are PCI-DSS certified
This is the name of the card holder, you should only pass this from your server if you are PCI-DSS certified
This is a 3 or 4 digit number provided at the back of the card, you should only pass this from your server if you are PCI-DSS certified
This is an optional field and will be used to create a card token for the card details passed in the payload. The saved card will be returned in the Payment modes API.
This is an optional field used to provide the name for the saved card token
If you don't have PCI-DSS, you can always encrypt the card details on your client and send us the encrypted string in this key.
Steps for encryption
card object
This object will have the details of the network token
The network generated at your end.
This is a 3 or 4 digit number provided at the back of the card
The expiry details of the token
These are the last 4 digits of the tokenized card
The cryptogram value for the token. This will be provided by the entity which provided the token.
The id provided by the networks for generating the token.
The reference number generated while generating the token.
The network of the card
The issuer of the card
Possible values: [retail
, corporate
]
The type of the card
Possible values: [domestic
, international
]
The geography of the card
card object
This object will have the details of the nimbbl token
This field is used to pass the nimbbl token when the card is tokenized at nimbbl
This is a 3 or 4 digit number provided at the back of the card. If cvv_required is false, then we expect you to pass random cvv.
This is the URL to which the status of the transaction and control will be redirected. The URL should be HTTPS. This URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, and Payment Apps.
Possible values: [neucoins
]
This is the code of the loyalty points as provided in the v3/payment-modes API call
This is the URL to which the status of the transaction and the control will be redirected. The URL should be https. The URL is mandatory for certain payment modes such as Cards, Net Banking, Wallets, Payment Apps.
device object
These device details need to be shared mandatorily for card payments if your payment processor supports only 3ds2.0. If not passed, the payment may fail. These details need to be of the device on which the customer is making the payment. We recommend passing this for all payment methods.
This is the accept header indicating the content types that the client can process.
This is the user agent string of the browser making the request.
This is the language setting of the browser.
This is a flag indicating whether JavaScript is enabled in the browser.
This is a flag indicating whether Java is enabled in the browser.
This is the name of the browser.
This is the timezone offset of the browser.
This is the color depth of the browser screen.
This is the screen height of the browser in pixels.
This is the screen width of the browser in pixels.
This is the fingerprint of the device used for identifying the device.
This is the IP address of the server from which the order is created.
- 200
- 4XX
- 5XX
When the payment initiation is successful, the response will be as below
Schema
- Array [
- ]
This is the order passed in the request
This is the unique transaction id generated by Nimbbl for this payment
Possible values: [pending
, new
, succeeded
, failed
]
This is the status of the payment transaction that was just generated, it will be new, pending, succeeded or failed
This a message explaining the status of the payment
next object[] required
The next array provides a recommendation for the next API call to be made, where multiple options are available, all of these are provided
Possible values: [redirect
]
To complete the payment, you will need to redirect your customer to the URL provided here. For most payment modes such as Cards, Net Banking, Wallets this is the only way to complete the payment as the user needs to be redirected to the payment page of the bank or wallet provider. To ease your integration, Nimbbl lets you use the redirect action for all other payment modes as well. However, wherever there are other native methods for completing the payment, those options will also come as part of the next array.
This is the end point of the API that needs to be called for the above action.
Possible values: [complete_payment
]
To complete the payment, you will need to call the API. This is currently only supported for certain pay later providers. If you don't want to natively handle the complete payment flow, you can always redirect the user using the redirect action and the Nimbbl screen will take care of completing the payment
Possible values: [/api/v3/payment
]
This is the end point of the API that needs to be called for the above action, you will need to append the baseurl as provided in this doc
Possible values: [otp
, auto_debit
]
The payment flow provides input whether the complete payment API is expecting an otp or the payment can be completed without any user input i.e. auto_debit. In the case of otp, you will need to provide a screen for the user to enter the otp, please ensure you also have provision for resend otp in case otp isn't delivered. For auto_debit, you can simply call the next API.
Possible values: [resend_otp
]
If the user hasn't received an otp, then you can call this API to request another otp for your customer
Possible values: [/api/v3/resend-otp
]
This is the end point of the API that needs to be called for the above action, you will need to append the baseurl as provided in this doc
Possible values: [payment_enquiry
]
If you don't get the final status of the payment transaction, you can always query the latest transaction status by doing an enquiry.
Possible values: [/api/v3/transaction-enquiry
]
This is the end point of the API that needs to be called for the above action, you will need to append the baseurl as provided in this doc
Possible values: [launch_upi_app
]
To launch the UPI apps, you will need to use the URL provided with this action.
This is the URL that needs to be invoked to launch the UPI app from your Android device. This is the URL for the generic intent, if you want to call a specific app, you will need to manipulate this URL, please reach out to us and we will help you.
{
"order_id": "o_9yo5wxlLlbJGK6dp",
"transaction_id": "o_9yo5wxlLlbJGK6dp-231210182525",
"payment_status": "pending",
"message": "Payment Initiated",
"next": [
{},
{},
{},
{},
{}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
},
{
"action": "payment_enquiry",
"url": "/api/v3/transaction-enquiry"
},
{
"action": "launch_upi_app",
"url": "upi://pay?pa=upi@razopay&pn=BIGITALTECHNOLOGIESPRIVATELIMITED&tr=iA5DNjIbvymuYzK&tn=razorpay&am=5&cu=INR&mc=5411"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
},
{
"action": "payment_enquiry",
"url": "/api/v3/transaction-enquiry"
},
{
"action": "launch_upi_app",
"url": "paytmmp://pay?pa=upi@razopay&pn=BIGITALTECHNOLOGIESPRIVATELIMITED&tr=iA5DNjIbvymuYzK&tn=razorpay&am=5&cu=INR&mc=5411"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
},
{
"action": "payment_enquiry",
"url": "/api/v3/transaction-enquiry"
},
{
"action": "show_qr",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeoAAAHqAQAAAADjFjCXAAADJUlEQVR4nO3aQa7qMAyF4UhdQJfUrXdJXQCSX4l97HDhPgHp4A7+DEoK+cLEchOnzWba3uBwOBwOh8Phf4m3aMvZW2+tbUfTxc7btmpI/857cPgk7zd2LJronOO8D3mOWizGHdmDw2e5R+n9N4WlD9vV8/Dd/B8WOPxCrgRpnjQVr/fePXwNDr+en6NuCt8epRbtzZiHw9/n/cO5pbw/pc95e+QWHwQcPsGjLaZ8+etFQ+HwSV4twrKHb4ueh+/e2s/BcPgE78HoA3JUlFu0GBye3N6Dw6e5vvY8qNm81yO31wF9gwKHX8B9qMte5PNyc/zgy8KW68UYB4dP8bhZbYxNG9Knqi812ODwSe5xqHzp++CO/OIHatoHPxde4PDPuZryYNSXm0duoPWmvLr+CFo4/Bu+q+ai8ea9uJjppGPV+e4Gh1/BW25yTRkxkmYuELMOA4fP8zWj1ON18Ye211x6IPvkdeYBh8/yPtRiRVhh6QcabSg3P/wNHP49r9MyyybU4zX/QYkUDp/npprLZhq6P9b3KlW2NUs1cPjXPE4r+j5E4VtTRvrM447WnjItHP45t0NVvWHhp9lqleg/7E9BC4d/zhWKyxPPbbEe3xHcD0ELh3/DN8s4XGOVGD/0BFmJVBH+4vkOh3/E45uHKFUxZrF4LK862oXDL+ExwPRmij+b25BIVZuJX8Xg8Clu8WZKH6D6yl7nG32In3S8LDLD4R9yxWvteeuiLLm4jFs4fJL7xqNFgmz5KpSypKI58iUcfgXvNwrQ2psMgRy731wvwuFzvELVRzV/Ii9+iY2vVb6Ew+e5o6r07T1pWjyMo2UvyzJw+Az31/OaTjB8beiv7JlyaLWnoIXDv+DZ2mO5T5FrpkBWXt3g8DmuaKwtyD0ZHhWgiuHxaA0On+Nb/zgW7Xk9QeZZht2GVwZiDjh8lvtZhg7PtkRV5POkOfwKh1/EhwFRhzGz4XxjtZepEg6f4TGHai510pH5spImHD7F+8dDqlSlJdeBRxYD26/LQjj8fR6tqi8Rvn02q0e1lwX/s5eBw9/l3zY4HA6Hw+Fw+F/h/wAb/8AEa3+mdgAAAABJRU5ErkJggg=="
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
},
{
"action": "payment_enquiry",
"url": "/api/v3/transaction-enquiry"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "complete_payment",
"url": "/api/v3/payment",
"payment_flow": "otp"
},
{
"action": "resend_otp",
"url": "/api/v3/resend-otp"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "pending",
"next": [
{
"action": "redirect",
"url": "https://api.nimbbl.tech/api/v2/authenticate/U2FsdGVkX1/7sMr3VAR+KJ6I0f6lxbarPDi7LqNTcKh6yIDOQTamAXmVpOZJLvhx"
}
]
}
{
"order_id": "o_BrbcdefghAD7zg",
"transaction_id": "o_BrbcdefghAD7zg-220311080933",
"message": "Payment Initiated",
"payment_status": "succeeded",
"next": [
{
"action": "payment_enquiry",
"url": "/api/v3/transaction-enquiry"
}
]
}
When the payment initiation is not successful, the response will be as below
Schema
error object
This is the error_code generated by Nimbbl
This is a customer friendly message that can be displayed to your consumer
This explains to your team how to recover from the error
{
"error": {
"nimbbl_error_code": "INVALID_REQUEST_PARAMETER",
"nimbbl_consumer_message": "Sorry, your payment cannot be processed due to a technical error. Please try again after some time.",
"nimbbl_merchant_message": "There is an input validation error, please check the payload of your request."
}
}
When there is a problem on the server, the response will be as below
Schema
error object
This is the error_code generated by Nimbbl
This is a customer friendly message that can be displayed to your consumer
This explains to your team how to recover from the error
{
"error": {
"nimbbl_error_code": "INVALID_REQUEST_PARAMETER",
"nimbbl_consumer_message": "Sorry, your payment cannot be processed due to a technical error. Please try again after some time.",
"nimbbl_merchant_message": "There is an input validation error, please check the payload of your request."
}
}