Response
Responses will be in the JSON format.
Node Name | Description |
---|---|
code | Zoho Payments error code. This will be zero for a success response and non-zero in case of an error. |
message | Message for the invoked API. |
resource name | Comprises the invoked API’s Data. |
$ curl --request GET \
--url 'https://payments.zoho.in/api/v1/paymentsessions/173000002315107?account_id=23137556' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
The response structure for the Payments API follows the below format.
{
"code" : 0,
"message" : "success",
"payments" : {
"payment_id" : "..."
}
}