1. Provided to YouTube by IIP-DDSCredit Card v3 (NoFX) Alan Paul Ett Scott Gilmore LiggettPeriod Rock 04 1950s to 1980s℗ 2012 Spirit Production MusicRelease.
  2. Credit Card Powered by you!! Choose your design. Choose your monthly flexible plan offering Cashback. up to AED 500 on New Age Merchants: Starter: Our Free Starter Plan. One: AED 135 Cashback subject to overall spend of AED 5,000 & Monthly Fee of AED 39 or overall spend of AED 8,000 & No Monthly Fee.
  • Only CAD transaction supported.

  • There are two modes for credit card integration:
    Simple Purchase
    Recurring Purchase

CREDIT CARD DECLINED MEMESCARD DECLINED MEMESCREDIT CARD DECLINES MEMESSome really funny Credit Card declined Memes I found on Reddit.They are really funny.

# Sign generate and check

Credit Card V3

# Request and response format

All request and response are in JSON format.The response body is also in JSON format. It should not be treated as fixed or as a schema, new fields may be added as the API evolves, and the order of fields might change. Your applications must therefore be resilient to the reordering of fields within a JSON object.

# Sending request demo code

# Simple purchase

User input card info and purchase once, users will be prompted to input card info each time when they purchase.

# Sequence

1, Call cc_purchase and redirect to redirectUrl to let user input credit card info;
2, After purchase, will redirect to returnUrl;
3, If the transaction is successful, IOTPay will notify to notifyUrl;

# Request URL for simple purchase

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_purchase

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchOrderNoyString(30)1234567890abcassigned by merchant
mchUserIdyString(30)007assigned by merchant
amountyInt1500in cents
currencyyString(3)CADfor now only CAD supported
loginNameyString(12)jack123merchant's login name
subjectnString(64)
bodynString(250)
channelyStringPF_CCfixed value: PF_CC
notifyUrlyString(200)get notify when success
returnUrlyString(200)redirect to this url after payment
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retData.redirectUrlyStringif retCode=SUCCESS, merchant redirect to this url
retData.secureIdyStringFor SDK integration only

# NotifyUrl message(post request in json format)

Credit
namerequiredtypesampledescription
payOrderIdyStringSUCCESS or FAIL
mchIdyString
mchOrderNoyString
originalOrderIdyStringoriginal pay order id if payType=refund
amountyInt100in cents
currencyyStringCAD
payTypeyStringpay or refund
refundableyInt100in cents
statusyInt22 or 3 means success
invoiceNumyString
paySuccTimeyString2021-04-07 19:44:51
cardNumyString432567******2266
cardTypeyStringV or M
expiryDateyString
authNumyString
transNumyString
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# ReturnUrl parameters

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgnString
statusyInt22 or 3 both mean the transaction is successful

# Recurring purchase

User input card info once, can purchase with the tokenized card multiple times.

# Sequence

1, Call cc_addcard and then redirect to retData.redirectUrl to let user input credit card info;
2, After addcard, will redirect to returnUrl with the following parameters:
If success: retCode=SUCCESS
If fail: retCode=FAIL&retMsg=xxxx
3, (optional) Call cc_querycard to get card info;
4, If cc_addcard is successful, call cc_purchasewithtoken to do a real purchase

# Request URL for cc_addcard

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_addcard

Reqeust method:

Card
  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
cardIdyString(30)604567999assigned by merchant,must be unique
loginNameyString(12)jack123merchant's login name
channelyStringPF_CCfixed value: PF_CC
returnUrlyString(200)redirect to this url after payment
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

each cardId can bind only one credit card, if one user need to bind more cards, use different cardId

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retData.redirectUrlyStringif retCode=SUCCESS, merchant redirect to this url
retData.secureIdyStringused for sdk integration

# ReturnUrl parameters

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgnString

# Request URL for cc_directaddcard

Card

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_directaddcard

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

As an IOTPAY client or partner using this method of integration, your solution must demonstrate compliance to the Payment Card Industry Data Security Standard (PCI DSS) .

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
cardIdyString(30)604567999assigned by merchant
cardNumyString4223456789564532card number
expiryDatenString0725
holderyStringcard holder's name
cvvyString786
loginNameyString(12)jack123merchant's login name
channelyStringPF_CCfixed value: PF_CC
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, card info returned

# retData contains card infomation:

namerequiredtypesampledescription
cardIdyString
cardNumyString
expiryDatenString
holderyString
cvvyString

# Request URL for cc_querycard

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_querycard

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
cardIdyString(30)604567999assigned by merchant
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, card info returned

# retData contains card infomation:

namerequiredtypesampledescription
cardIdyString
cardNumyString
expiryDateyString
holderyString
cvvyString

# Request URL for purchasewithtoken

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_purchasewithtoken

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchOrderNoyString(30)1234567890abcassigned by merchant
mchUserIdyString(30)007assigned by merchant
cardIdyString(30)604567999assigned by merchant
amountyInt1500in cents
currencyyString(3)CADfor now only CAD supported
loginNameyString(12)jack123merchant's login name
subjectnString(64)
bodynString(250)
clientIpnString(50)192.77.33.56consumer's ip address, for better transaction trace
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

Credit Card Generator With Money

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, order detailed info returned

# retData contains order infomation:

namerequiredtypesampledescription
payOrderIdyStringSUCCESS or FAIL
mchIdyString
mchOrderNonString
originalOrderIdyStringoriginal pay order id if payType=refund
amountyInt100in cents
currencyyStringCAD
payTypeyStringpay or refund
refundableyInt100in cents
statusyInt22 or 3 means success
invoiceNumyString
paySuccTimeyString2021-04-07 19:44:51
cardNumyString432567******2266
cardTypeyStringV or M
expiryDateyString
authNumyString
transNumyString
channelyStringPF_CCfixed value:PF_CC

# Purchase with wallet

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_purchasewithwallet

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# This API is for Apple Pay and Google Pay, contact us before integrating this API.

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchOrderNoyString(30)1234567890abcassigned by merchant
amountyInt1500in cents
currencyyString(3)CADfor now only CAD supported
walletTypenString(250)“ApplePay” for ApplePay, “GooglePay” for Google Pay
walletDatanString(250)The OEM Wallet data is generated by the mobile device authorized wallet
loginNameyString(12)jack123merchant's login name
subjectnString(64)
bodynString(250)
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

walletData must be base64encoded. For ApplePay, you must send the Apple payment token as received by the passkit.For Google Pay, you must send the payment token (paymentData.paymentMethodData.tokenizationData.token) as received by Google Pay API.

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, order detailed info returned

# retData contains order infomation:

namerequiredtypesampledescription
payOrderIdyStringSUCCESS or FAIL
mchIdyString
mchOrderNonString
originalOrderIdyStringoriginal pay order id if payType=refund
amountyInt100in cents
currencyyStringCAD
payTypeyStringpay or refund
refundableyInt100in cents
statusyInt22 or 3 means success
invoiceNumyString
paySuccTimeyString2021-04-07 19:44:51
cardNumyString432567******2266
cardTypeyStringV or M
expiryDateyString
authNumyString
transNumyString
channelyStringPF_CCfixed value:PF_CC

# Refund a transaction

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_refund

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchRefundNoyString(30)R1234567890abcassigned by merchant
loginNameyString(12)jack_chenassigned by merchant,equals to jobNo
refundAmountyInt100in cents
payOrderIdyString(30)
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, order detailed info returned

Credit Card V380

# Void a transaction

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_void

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchRefundNoyString(30)R1234567890abcassigned by merchant
loginNameyString(12)jack_chenassigned by merchant,equals to jobNo
payOrderIdyString(30)
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, order detailed info returned

# Query order

Endpoint: https://ccapi.iotpaycloud.com/v3/cc_query

Credit Card V3 Login

Reqeust method:

  • POST
  • Content-Type: application/json;charset=UTF-8

# Parameters

Credit Card Generator

namerequiredtypesampledescription
mchIdyString(30)10000701assigned by IOTPay
mchOrderNoyString(30)1234567890abcassigned by merchant
payOrderIdyString(30)
signyString(32)C380BEC2BFD727A4B6845133519F3AD6Sign algorithm

use either payOrderId or mchOrderNo, use one of them

# Response

namerequiredtypesampledescription
retCodeyStringSUCCESS or FAIL
retMsgyString
retDatayJSONif retCode=SUCCESS, order detailed info returned

# SDKs and document

For iOS integration: iOS sdk
For Android integration: Android sdk
PHP and JS integration: Php sdk

# Demo and source code

Simple purchase: demoRecurring purchase: demosource code download