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": { portone_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@portone.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.portone.cloud/success.html",
"failure_url": "https://dev-checkout.portone.cloud/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#

{
"portone_key": {portone_key},
"merchant_details": {
"name": "Test Company",
"back_url": "https://dev-admin.portone.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@portone.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.portone.cloud/success.html",
"failure_url": "https://dev-checkout.portone.cloud/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#