Payment Progress PDF
curl --request GET \ --url https://api.ztlpay.io/api/v2/payments/7c628b2e-9094-4bf8-af23-1d517c6fc4f5/progress-pdf \ --header 'Authorization: Bearer <token>'Generates a PDF report detailing the current progress of a payment.
A PDF report can only be generated for cross-border payments with an exchange and payment status is in one of the following states:
-
InProgress
When the payment is in the ‘InProgress’ state and funds have not yet been received by ZTL, the PDF will show payment status “Scheduled”
When the payment is in the ‘InProgress’ state and funds have been received by ZTL, the PDF will show payment status “In progress”
-
Completed
When the payment is in the ‘Completed’ state, the PDF will show payment status “Sent to bank”
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Id received when creating the payment
Example
7c628b2e-9094-4bf8-af23-1d517c6fc4f5Responses
Section titled “Responses”Successfully generated payment progress PDF
Headers
Section titled “Headers”Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Bad request
object
Unique RequestId, please provide this Id in case of support requests
The underlying reason for the error
The underlying reason for the error
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Forbidden
object
Unique RequestId, please provide this Id in case of support requests
The underlying reason for the error
The underlying reason for the error
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Not found
object
Unique RequestId, please provide this Id in case of support requests
The underlying reason for the error
The underlying reason for the error
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Internal server error
object
Unique RequestId, please provide this Id in case of support requests
The underlying reason for the error
The underlying reason for the error
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9