ODX/V2 API
string · uuid · requiredstringstring · enum · requiredstring · enum
string · uuid · requiredstringstring · enum · requiredstring · enumstring · minLength: 1 · requiredstring · minLength: 1 · requiredstring
string · uuid · requiredstringstring · enum · requiredstring · enum
string · uuid · requiredstringstring · enum · requiredstring · enum
payment/purchase
Checkout purchased product by Apple AppStore
POST
https://odkmedia.io/odx/api/v2
/payment/checkout/apple/{product_code}/
path Parameters
product_codequery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-NameEnum values:
odk
odc
odv
odl
Accept-Language"zh-Hans", "zh-Hant" is deprecated.
Enum values:
ko
en
es
zh-Hans
zh-Hant
zh-hans
zh-hant
pt
Default: en
Checkout purchased product by Apple AppStore › Responses
Checkout purchased product by Authorize.net
POST
https://odkmedia.io/odx/api/v2
/payment/checkout/aznet/{product_code}/
path Parameters
product_codequery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-NameEnum values:
odk
odc
odv
odl
Accept-Language"zh-Hans", "zh-Hant" is deprecated.
Enum values:
ko
en
es
zh-Hans
zh-Hant
zh-hans
zh-hant
pt
Default: en
Checkout purchased product by Authorize.net › Request Body
data_descriptiondata_valuezipcodeCheckout purchased product by Authorize.net › Responses
Checkout purchased product by Google PlayStore
POST
https://odkmedia.io/odx/api/v2
/payment/checkout/google/{product_code}/
path Parameters
product_codequery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-NameEnum values:
odk
odc
odv
odl
Accept-Language"zh-Hans", "zh-Hant" is deprecated.
Enum values:
ko
en
es
zh-Hans
zh-Hant
zh-hans
zh-hant
pt
Default: en
Checkout purchased product by Google PlayStore › Responses
Get product info to purchase
GET
https://odkmedia.io/odx/api/v2
/payment/product_info/{product_code}/
path Parameters
product_codequery Parameters
debugIf value is "on", debug is included in response.
Headers
Service-NameEnum values:
odk
odc
odv
odl
Accept-Language"zh-Hans", "zh-Hant" is deprecated.
Enum values:
ko
en
es
zh-Hans
zh-Hant
zh-hans
zh-hant
pt
Default: en