/api/v1/payment-request

Allows create or update their corporate.

Resource Information

Versionv1
Response formatsJSON
Requires authentication?Yes
Rate limited?Yes

Sample Input

 

Input Parameters

secret_access_key

mandatory
API secret key which is provided by Swipez support

Example values: 9cfb2571aa9b3a8139b9c51733d231909625dfb5
template_id
mandatory
encrypted template identity


user_id

mandatory
User ID

Example values: 8

corporate_id

mandatory
Corporate company ID

Example values: 662
insurance_company_id

mandatory
Insurance company branch id from branch_insurers table

Example values: 78
policy_id

mandatory
Policy ID

Example values: 58
data.bill_date

mandatory
Bill date format(Y-m-d)

Example values: 2017-07-20
data.due_date

mandatory
Due date format(Y-m-d)

Example values: 2017-07-20
data.employee_code

mandatory
Employee code

Example values: emp0024
data.employee_name

mandatory
Employee name

Example values: Paresh Patil
data.employee_email_id

mandatory
Employee email ID

Example values: [email protected]
data.employee_mobile_no

mandatory
Employee Mobile no.


Example: 9999999999
data.policy_details.dependant_name

mandatory
Policy dependant name

Example: Harsh Patil
data.policy_details.relationship

mandatory
Relationship

Example: Brother
data.policy_details.gender

mandatory
Gender

Example : Male
data.policy_details.date_of_birth

mandatory
Date of birth

Example: 02-July-1989
data.policy_details.sum_insured

mandatory
Policy Sum insured

Example: 600000
data.policy_details.premium

mandatory
Policy premium

Example: 12000
data.policy_details.premium

mandatory
Policy GST tax

Example: 120
data.policy_details.total_premium

mandatory
Policy Total Premium

Example: 12120
data.comments

optional
Payment request comment

Example: test payment request

Sample Response