Download OpenAPI specification:Download
E-Payment Ciputra Life - API Documentation
| api-key
required
|
string
API Key Code |
| api-secret
required
|
string
API Secret Code |
{- "code": "00",
- "status": true,
- "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJsdW1lbi1qd3QiLCJzdWIiOiJvdUF5SURnR3N6QWtJV2hYZHp4Umswc0JxQUZycDNBWGpqUThqN1g4MjNSaVg3TVowWDNSTXZsczNZQ3ZwR2o3IiwiaWF0IjoxNjE0NjcwOTM5LCJleHAiOjE2MTQ2NzQ1Mzl9.zo0cvIcnsScv7-vP3Iy4IR-GSv4qk3-mXqETy4yh2ko",
- "expires_in": 1635915352,
- "token_type": "Bearer",
- "message": "Success"
}
| Authorization
required
|
string
Authorization |
Transaction
| action |
string
Type of a action |
| paytype
required
|
string
Enum: "all" "va" "cc" "ib" "ewallet" "otc" "qris"
Payment type [all: All Payment, va: Virtual Account, cc: Credit Card, ib: Internet Banking, ewallet: Ewallat] |
| paycode
required
|
string
Enum: "all" "bca" "bni" "permata" "bri" "mandiri" "credit_card" "cimb_niaga" "jenius" "gopay" "ovo" "dana" "alfamart" "indomaret"
Payment code [all: All Payment Code, bca: Bank BCA, bni: BANK BNI, permata: BANK Permata, bri: BANK BRI, mandiri: BANK MANDIRI, credit_card: Credit Card, cimb_niaga: BANK CIMB NIAGA, jenius: BANK BTPN, gopay: Ewallet Gopay, ovo: Ewallet OVO, dana: Ewallet DANA, alfamart: OTC Alfamart, indomaret: OTC Indomaret] |
| external_id
required
|
string
Unique customer code |
| name
required
|
string
Customer's name |
|
string
Customer's email address |
|
| phone |
string
Customer's phone address |
| refno |
string
Policy number |
|
object
Transaction description |
|
| amount
required
|
string
Total amount of transaction |
| exptype |
string
Enum: "S" "M" "H" "D" "MN" "SD"
Expired type [Blank | S : Seconds | M : Minute | H : Hour | D : Days | MN : Month | SD : Specific Date] |
| expval |
string
Expired value [Blank | 1,2,3,4,5,6,7,8,9,0 | yyyy-MM-dd] |
| redirect_url |
string
Redirect url use for redirect to cashier page |
| callback_url |
string
Callback url |
| back_url |
string
Back url |
| send_email |
string
send payment information via email [blank : default setup | 0 : don't send email | 1 : send email] |
| send_sms |
string
send payment information via sms [blank : default setup | 0 : don't send sms | 1 : send sms] |
| send_wa |
string
send payment information via whatsapp [blank : default setup | 0 : don't send sms | 1 : send sms] |
| notification_timing |
string
notification timing [blank or default : default setup | before : send notification before expired | after : send notification after payment | before_after : send notification before expired and after payment] |
{- "action": "charge",
- "paytype": "ewallet",
- "paycode": "gopay",
- "external_id": "ECL00001",
- "name": "Jhonny",
- "phone": "080000022233",
- "refno": "0000000001",
- "description": {
- "text_1": "Testing",
- "text_2": "Payment",
- "text_3": "Due 1"
}, - "amount": "2000000",
- "exptype": "D",
- "expval": "3",
- "send_email": "0",
- "send_sms": "0",
- "send_wa": "0",
- "notification_timing": "after"
}
{- "code": "00",
- "status": true,
- "data": {
- "order_id": "TE202100000001",
- "status_payment": "cancel",
- "expired_date": "2021-05-17 15:04:43",
- "cancel_date": "2021-05-17 15:04:43",
}, - "message": "Success"
}
| external_id
required
|
string
|
| Authorization
required
|
string
Authorization |
{- "code": "00",
- "status": true,
- "data": {
- "broker_id": 1,
- "broker_name": "Asuransi Receh",
- "order_id": "TE202100000001",
- "external_id": "TEST00001111114",
- "action": "charge",
- "payment_channel": "gopay",
- "status": "paid",
- "name": "Jhone",
- "phone": "081111111111",
- "reference_number": "",
- "description": {
- "text_1": "Pembayaran Asuransi Jiwa",
- "text_2": "Ciputra Life",
- "text_3": ""
}, - "virtual_account": "",
- "credit_card_number": "",
- "month_end": "",
- "year_end": "",
- "amount": 300000,
- "created_time": "2021-11-03 04:38:41",
- "transaction_time": "2021-11-03 04:38:41",
- "expired_time": "2021-11-03 04:38:41",
- "remark": "",
- "callback_url": ""
}, - "message": "Success"
}
| external_id
required
|
string
|
| Authorization
required
|
string
Authorization |
{- "code": "00",
- "status": true,
- "data": {
- "broker_id": 1,
- "broker_name": "Asuransi Receh",
- "order_id": "TE202100000001",
- "external_id": "TEST00001111114",
- "reference_number": "90200000003",
- "name": "Jhone",
- "phone": "081111111111",
- "action": "registration",
- "registration_channel": "autodebet_bca",
- "description": "Clics",
- "status": "success",
- "account_number": "11000011",
- "created_time": "2021-11-03 04:38:41",
- "registration_time": "2021-11-03 04:38:41",
- "transaction_time": "2021-11-03 04:38:41",
- "expired_time": "2021-11-03 04:38:41",
- "remark": "customer successfully registers BCA autodebit",
- "callback_url": ""
}, - "message": "Success"
}