Payment Progress PDF
curl --request GET \ --url https://api.ztlpay.io/api/fx/payments/example/progress-pdf \ --header 'Authorization: Bearer <token>'Generates a PDF report detailing the current progress of an FX payment.
A PDF report can only be generated if the payment status is in one of the following states:
-
Confirmed
When the payment is in the ‘Confirmed’ state the PDF will show payment status “Scheduled”
-
PaymentInProgress
When the payment is in the ‘PaymentInProgress’ state 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”The paymentId of the payment for which to generate the progress PDF
Responses
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