Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"type":"object",
"required":[
"id",
"card_type",
"ch_email",
"ch_full_name",
"response_code",
"approval_code",
"status",
"merchant_id"
],
"properties":{
"id":{
"type":"integer",
"description":"Transaction id returned from payment gateway. Refer to documentation: https://ipgtest.webteh.hr/ba-hr/documentation/direct"
},
"card_type":{
"type":"string",
"description":"Credit card type, visa, master etc",
"maxLength":20
},
"pm_alias":{
"type":"string",
"minLength":40,
"maxLength":40,
"description":"Payment method alias used to execute transaction"
},
"ch_email":{
"type":"string",
"format":"email",
"description":"More details on: https://ipgtest.webteh.hr/ba-hr/documentation/direct#buyers-profile",
"maxLength":100
},
"ch_full_name":{
"type":"string",
"description":"More details on: https://ipgtest.webteh.hr/ba-hr/documentation/direct#buyers-profile",
"maxLength":100
},
"response_code":{
"type":"string",
"maxLength":4,
"description":"More details on: https://ipgtest.webteh.hr/ba-hr/documentation/direct"
},
"approval_code":{
"type":"string",
"maxLength":4,
"minLength":4,
"description":"More details on: https://ipgtest.webteh.hr/ba-hr/documentation/direct"
},
"status":{
"type":"string",
"maxLength":40
},
"merchant_id":{
"type":"string",
"minLength":12,
"maxLength":12
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment