Skip to main content

Kredivo Integration

Introduction#

Kredivo gives customers instant credit financing for ecommerce purchases and personal loans based on real-time decisioning.


Supported Countries#

  • Vietnam 🇻🇳

Available Payment Methods#

Payment TypePayment Method KeyCurrencyStatusSandbox Availability
BNPLKREDIVO_BNPLVND

Miscellaneous Details#

Vietnam#
  • Refunds can be initialized from the merchant portal, Partial refunds are not supported for VND currency

  • In Order details following fields are mandatory:

    • Id
    • Name
    • Quantity
    • Price
    • Additional Details - Type
    • Additional Details - URL
  • In Billing details following fields are mandatory:

    • Billing Name
    • Billing Email
    • Billing Phone
  • In Shipping details following fields are mandatory:

    • Shipping Name
    • Shipping Phone
    • Shipping Address - Line 1
    • Shipping Address - Line 2
    • Shipping Address - City
    • Shipping Address - State
    • Shipping Address - Country Name
    • Shipping Address - Postal Code
    • Shipping Address - Country Code

Sandbox#

Use following values in embedded JS code to pay via Kredivo channel#

"pmt_channel": "KREDIVO",
"pmt_method": { Any of above given payment method keys },

Credentials#

countryserverKey
VietnamcHAi_sAnDbOX

Test user data for Kredivo BNPL payment method#

CountryNumberPINLimitOTP
Vietnam+84-900000000447462Unlimited Credit4567
Vietnam+84-9000000014474625 million VND4567

Sample payload for initiatePayment#

{
"key": { Chaiport_Key},
"merchant_order_id": { merchant_order_id },
"amount":100000,
"currency": "VND",
"signature_hash": { signature_hash },
"order_details": [{
"id": "1",
"name": "item1",
"quantity": 1,
"price": 100000,
"additional_details":{
"type":"item-type",
"url":"item-url"
}
}],
"billing_details": {
"billing_name": "First Middle Last",
"billing_email": "test@chai.com",
"billing_phone": "+8959893980"
},
"shipping_details": {
"shipping_name": "First Middle Last",
"shipping_phone": "8959893980",
"shipping_address": {
"line_1": "Line 1",
"line_2":"Line 2",
"city": "City",
"postal_code": "400202",
"state": "State"
"country_code": "VN",
"country_name":"Vietnam"
}
},
"success_url": "https://dev-checkout.chaiport.io/success.html",
"failure_url": "https://dev-checkout.chaiport.io/failure.html",
"pmt_channel": "KREDIVO",
"pmt_method": { Any of above given payment method keys },
"description": "Payment for the order #42140324",
"environment":"sandbox"
}

Sample payload for paymentLink#

{
"chaipay_key": {Chaiport_Key},
"merchant_details": {
"name": "Test Company",
"back_url": "https://dev-admin.chaipay.io",
"promo_code": "NA",
"promo_discount": 0,
"shipping_charges": 0
},
"signature_hash": {signature_hash},
"amount": 100000,
"currency": "VND",
"country_code": "VN",
"merchant_order_id": {merchant_order_id},
"order_details": [{
"id": "1",
"name": "item1",
"quantity": 1,
"price": 100000,
"additional_details":{
"type":"item-type",
"url":"item-url"
}
}],
"billing_details": {
"billing_name": "First Middle Last",
"billing_email": "test@chai.com",
"billing_phone": "+8959893980"
},
"shipping_details": {
"shipping_name": "First Middle Last",
"shipping_phone": "8959893980",
"shipping_address": {
"line_1": "Line 1",
"line_2":"Line 2",
"city": "City",
"postal_code": "400202",
"state": "State",
"country_code": "VN",
"country_name":"Vietnam"
}
},
"success_url": "https://dev-checkout.chaiport.io/success.html",
"failure_url": "https://dev-checkout.chaiport.io/failure.html",
"expiry_hours": 48,
"source": "api",
"description": "Payment for the order #42140324",
"show_shipping_details": false,
"show_back_button": false,
"default_guest_checkout": true,
"is_checkout_embed": false,
"environment": "sandbox"
}

Reference links#