Motor Payment URL API
Payment URL API will enable the consumers to intiate payment against the insurance policy application, and will response back with Payment Url to make payment.
Request Body required
1SB Payment URL request
- Array [
- ]
- Array [
- ]
- Array [
- ]
distributor object
Distributor and channel details for identifying the selling partner and journey context.
Unique distributor/partner identifier.
Sales channel classification (e.g., B2C, B2B).
Agent/advisor identifier mapped to the distributor.
Sales channel name or sub-channel (if applicable).
varFields object[]
Additional distributor-level attributes (if any) passed as key-value pairs.
Name/key of the additional attribute.
Value of the additional attribute.
Product group identifier for the line of business.
Insurer/manufacturer code for which the payment is being initiated.
Application/proposal number reference used for insurer/payment tracking.
Product code identifying the insurer’s motor product variant/plan configuration.
Policy/proposal number reference (may be same as application number depending on insurer flow).
Quote identifier generated for the motor quote against which payment is being made.
URL to which the customer should be redirected after payment initiation/completion.
UI tracking reference number generated by 1SB for tracking the payment journey on UI.
additionalSetup object
Technical and contextual metadata used for payment processing and tracking.
Currency in which payment is to be made.
Customer’s country (if captured).
Customer’s region/state (if captured).
Customer’s preferred language (if captured).
Customer’s IP address (if captured).
Customer’s browser/device user-agent string (if captured).
userGeoLocation object
Customer’s geo-location details (if captured).
Latitude coordinate of the customer location (if available).
Longitude coordinate of the customer location (if available).
memberDetails object
Customer/member details required by insurer/payment system for generating payment link.
Customer first name.
Customer last name.
Customer mobile number.
Customer email address.
varFields object[]
Additional member/customer attributes passed as key-value pairs.
Name/key of the additional member attribute.
Value of the additional member attribute.
paymentDetails object
Payment configuration and payer details used to initiate the transaction.
Premium payment frequency/mode used for payment (e.g., S for Single/Annual).
Total amount payable for the transaction.
Payment method (if selected/known). Blank if not selected at request time.
bankAccount object
Bank account details used when payment method requires bank details (if applicable).
Account holder name (if applicable).
Bank account number (if applicable).
IFSC code of the bank branch (if applicable).
Type of bank account (if applicable).
varFields object[]
Additional payment-related attributes passed as key-value pairs.
Name/key of the additional payment attribute.
Value of the additional payment attribute.
- 200
Successful Response
Schema
- Array [
- ]
- Array [
- Array [
- ]
- Array [
- ]
- ]
Unique request identifier generated for the payment transaction.
errors object[] required
List of errors returned during the request execution. Empty array indicates success.
data object[] required
Payment response details.
Application number generated for the proposal.
UI tracking reference number.
Policy or proposal number.
Quote identifier.
Redirect URL for payment flow.
Reference ID used for payment tracking.
paymentDetails object required
Payment gateway URL generated for completing the transaction.
varFields object[] required
Additional payment-related parameters.
varFields object[] required
Additional response-level parameters.
{
"reqId": "057f8f06-a9dc-4c2b-8f08-859c1a3b7c54",
"errors": [],
"data": [
{
"applicationNo": "AG045546VPC0089925",
"UITrackingRefNo": "c177665b-789e-4773-ae6f-ae5e29c3a4a9",
"policyNo": "AG045546VPC0089925",
"quoteId": "72632",
"redirectUrl": "https://demo.webhook.1silverbullet.tech/pfm/psps/v1/payment/redirect?referenceId=057f8f06-a9dc-4c2b-8f08-859c1a3b7c54",
"referenceId": "057f8f06-a9dc-4c2b-8f08-859c1a3b7c54",
"paymentDetails": {
"paymentUrl": "https://static.1silverbullet.tech/payment/rsgi/?reqType=JSON&apikey=310ZQmv/bYJMYrWQ1iYa7s43084=&agentId=BA506390&premium=6595.02"eId=AG045546VPC0089925&version_no=12345&strFirstName=POOJA PAVAN&strEmail=pooja.dubey@1silverbullet.tech&strMobileNo=8369440794&isQuickRenew=No&returnUrl=https://demo.webhook.1silverbullet.tech/pfm/psps/v1/payment/redirect?referenceId=057f8f06-a9dc-4c2b-8f08-859c1a3b7c54&paymentType=Billdesk&manufacturerApi=https://www.royalsundaram.net/web/test/paymentgateway",
"varFields": [
{
"fieldName": "",
"fieldValue": ""
}
]
},
"varFields": [
{
"fieldName": "",
"fieldValue": ""
}
]
}
]
}