openapi: 3.2.0
info:
title: PayTo Payments API
description: "“PayTo” is a new digital payments service that allows NPP-enabled account holders to digitally pre-authorise one-off or recurring real-time payments from their bank account. This swagger document lists APIs for PayTo agreement creation, management and payment initiation. \n\n**Changes in 1.4 version**\n\n\n\nEnriching timestamp fields to include microseconds information - ”created_at” and ”updated_at” fields returned via our API & web hook notifications (agreement and payto payments payloads) will include microseconds in the timestamp. \n\nRevised timestamp format example - 2023-08-10 09:03:16.045622 \n\nError code updates - \n\n **Validate PayTo Agreement API:** \n- Added new error codes - PAYT-ERR-2029, PAYT-ERR-2030, PAYT-ERR-2031 \n- Removed error codes - PAYT-ERR-2026, PAYT-ERR-2024 \n\n **Amend PayTo Agreement Details API:** \n- Added new error codes - PAYT-ERR-2321, PAYT-ERR-2322 \n- Removed error codes - PAYT-ERR-2310, PAYT-ERR-2312 \n\n **Initiate PayTo Payment API:** \n- Added new error code - PAYT-ERR-2526\n\n\n**Changes in 1.3 version**\n\n\n**Payment Amount Validations:** \n\nZai will perform additional payment request compliance checks. This is to help minimise non-compliant payment requests. It is essential to continue to ensure PayTo payment requests are made according to the specified amounts, day/time, frequency, and with all other terms specified in the PayTo Agreement. \n\nPayment amount-related verifications will be performed for: \n- Usage and Variable Agreements: the payment requested must be within the maximum amount field and the amount field (which acts as the minimum amount field) i.e., if the agreement amount is between $50 and $75, the payment instruction amount must be within this range. \n\n Note - Consider specifying a maximum and minimum value amount, as the payment amount can differ each time. These limits may provide clarity for the end-customer and may minimise the probability of them receiving a warning message from their bank. \n- Fixed Agreements: payments initiated must match the agreed amount; i.e., if the agreement amount is $50, the payment instruction amount must also be $50 \n- Balloon Agreements: the fixed and final payment amounts will be checked. The final amount must be equal to or greater than the fixed amount. If it’s not, the payment request will be rejected. i.e., the agreement amount is $1,200 over 10 payments (9 fixed and 1 final payments) the fixed amount could be $100, and the final amount $300. \n\nRelevant error messages have also been added as part of this release around rejecting payments that are not compliant as per amount specified in the agreement.\n\n\n**Changes in 1.2 version**\n\n\n **New APIs:** \n- Get all PayTo Agreements for a user - This API lists all PayTo agreements associated with a particular user. If needed, the results can be filtered to list agreements for a particular status or for a particular type (AUPM/MGCR). \n- Get all PayTo Payment Initiation Requests for an agreement - This API lists all payment requests initiated for an agreement. If needed, the results can be filtered to list requests for a particular status. \n- Recall PayTo Agreement - If a custom expiry duration (anything less than 5 days) has been specified for an agreement creation/amendment request and if the debtor has not responded within the specified timeframe, this API should be used to recall such pending authorisation requests. Post successful recall, the request is considered cancelled and hence cannot be actioned by the debtor. \n\n Note - Agreement creation or Bilateral agreement amendments trigger authorisation requests waiting approval from debtor, which can be recalled via this API, if needed.\n\n **Validate PayTo Agreement API:** \n- New Optional Field: response_requested_by -> This field should be used to specify a custom expiry duration i.e. if the debtor authorisation request needs to be limited to any short duration which is less than the default duration of 5 days. \n- Updated Field Description: agreement_info.debtor_info.debtor_details.debtor_reference -> If end to end Id is not provided in the payment initiation request, then the debtor reference (if provided) in the agreement will be used as end to end identifier for the payments initiated via the agreement.\n\n **Initiate PayTo Payment API:** \n- Updated Field Description: payment_info.end_to_end_id -> If end to end Id is not provided in the payment initiation request, then the debtor reference (if provided) in the agreement will be used as end to end identifier for the payments initiated via the agreement. If debtor reference is also not available, default value “NOTPROVIDED” will set as end to end id for the payment initiation request.\n\n\n**Changes in 1.1 version**\n\n\n **Validate PayTo Agreement API:** \n- Support open ended agreements - For Adhoc frequency, providing point_in_time or count_per_period info is optional. \n- Reformatting debtor account number - During the agreement validation step, Zai may reformat the debtor account number as per the format expected by the payer institutions. Reformatted debtor account number can be accessed either via GET PayTo Agreement Details API after the validation step or via WAPI notification sent by Zai after successful agreement creation step.\n\n **Amend PayTo Agreement Details API:** \n- Ability to clear optional fields if needed using hyphen (-) character.\n\n **Amend PayTo Agreement Status API:** \n- Allow agreement status amendments even if a bilateral amendment is in progress. Example - If agreement details amendment is in progress, it should be possible to pause/suspend the agreement if needed.\n\n **Get PayTo Agreement Details API:** \n- New fields - Status reason code and Status reason description have been added in response. These fields will provide more details for suspended or cancelled agreements.\n\n **Get PayTo Payment Details API:** \n- New fields - Status reason code and Status reason description have been added in response. These fields will provide more details for rejected payments.\n\n **Misc:** \n- Agreement purpose codes have been elaborated to clarify the usage for each type. \n- Status descriptions returned in the GET APIs have been improved to provide more details about the current agreement status. \n- PAYT-ERR-2201, PAYT-ERR-2301 - error descriptions have been updated. \n- PAYT-ERR-2318 - added new error code along with description.\n"
contact:
name: Zai
url: https://developer.hellozai.com/reference/overview
email: support@hellozai.com
version: 1.4-external
servers:
- url: ' https://au-0000.api.assemblypay.com/payto/'
description: Production server and API
- url: https://sandbox.au-0000.api.assemblypay.com/payto/
description: Sandbox (Pre-live) server and API
- url: https://virtserver.swaggerhub.com/AssemblyPlatforms/PayTo/1.4-external
description: SwaggerHub API Auto Mocking
tags:
- name: PayTo Payments
description: Payment Initiation APIs
paths:
/agreements/{agreement_uuid}/payment_requests/initiate:
post:
tags:
- PayTo Payments
summary: Initiate PayTo Payment
description: "This endpoint is to initiate a payment to collect funds from the debtor's account or to retry if the previous payment collection request was rejected due to valid business reasons.\nThis API should be invoked strictly as per the terms and conditions established in the agreement to avoid payment claims. Even the retries should be attempted as per the agreement terms and conditions.\n\n Payment initiation request statuses -\n- PENDING_PAYMENT_INITIATION - when the payment initiation request has been accepted for processing \n- PAYMENT_INITIATED - when the payment initiation request is being processed \n- PAYMENT_INITIATION_COMPLETED - when the payment initiation request is cleared and settled successfully. Funds can be expected in the user's wallet soon \n- PAYMENT_INITIATION_REJECTED - when the payment initiation request is rejected for processing due to validation, funds not available in the debtor's account or any other \nbusiness reason. A retry can be performed in such scenarios \n\nIf the payment collection request has been rejected due to valid business reasons (example - insufficient funds), a retry can be attempted for the same.\n\nPayment_request_uuid generated will be the same for the payment collection request and all subsequent retry attempts, however, instruction_id differs for each.\n\nNote - If Payment initiated on the agreement validity end date fails, it will not be possible to retry or initiate again on the following date as the agreement will be marked as CANCELLED automatically after the agreement validity_end_date. Hence, it is recommended to initiate the last payment few days before the agreement validity end date to cater for retries needed if any."
operationId: initiatePaymentRequest
parameters:
- name: agreement_uuid
in: path
required: true
schema:
type: string
example: d0c40d95-95b7-449b-9835-3c97c0386585
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InitiatePaymentRequest'
required: true
responses:
'401':
description: "Unauthorised \n
| Error Code | Error Message |
| PAYT-ERR-2516 | A payment is already in progress for the agreement. Please try again if the current payment request is unsuccessful. |
| PAYT-ERR-2517 | Invalid request: Payment has been rejected already and cannot be retried. Please check reason code details. |
| PAYT-ERR-2518 | For migrated agreements, payment request with value exceeding $5,000 AUD cannot be initiated. Please consider splitting the amount in multiple requests OR create a new agreement if the payment value needs to be beyond $5,000 AUD in a single request. |
| PAYT-ERR-2519 | For the last payment, the instructed amount in the payment should match the last payment terms in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2520 | For the first payment, the instructed amount in the payment should match the first payment terms in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2521 | For FIXE agreement type, the instructed amount in the payment should match the payment amount stated in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2522 | For BALN agreement type, the instructed amount in the payment should match the payment amount stated in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2523 | For BALN agreement types, the instructed amount in the payment should be either the same or greater than the payment amount stated in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2524 | For USGB/VARI agreement types, the instructed amount in the payment should be within the payment amount (min) and maximum amount range stated in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2525 | For USGB/VARI agreement types, the instructed amount in the payment should be either the same or greater than the payment amount stated in the agreement. Please initiate payments as per the agreement’s payment terms. |
| PAYT-ERR-2526 | For USGB/VARI agreement types, the instructed amount in the payment should be either the same or less than the maximum amount stated in the agreement. Please initiate payments as per the agreement's payment terms. |
"
content:
application/json:
schema:
$ref: '#/components/schemas/PayToErrorResponse'
example:
errors:
- error_code: PAYT-ERR-2516
error_message: A payment is already in progress for the agreement. Please try again if the current payment request is unsuccessful.
'500':
description: "Internal Server Error \n| Reason Code | Description | Retry eligible |
| ClearingAndSettlementError | An error occurred during clearing and settlement of the payment. Please retry the same payment again or contact Zai support. | Yes |
| PayeeBankOffline | Payee institution is offline. Please try again or contact Zai support. | No |
| PayerAccountNumberInvalid | Payer account details or PayID provided is invalid or does not exist within NPP. Please update the agreement with correct account details and try again. | No |
| PayeeAccountNumberInvalid | Payee account details provided is invalid or does not exist within NPP. Please try again or contact Zai support. | No |
| PayerAccountClosed | Payer account provided is closed. Please update the agreement with correct account details and try again. | No |
| InsufficientFunds | Payer account has insufficient funds at the moment. Please contact the payer and retry the same payment again after funds availability. | Yes |
| BlockedAccount | Account provided is temporarily blocked. Please retry the same payment again after some time or contact the payer. | Yes |
| PayeeAccountClosed | Payee account provided is closed. Please try again or contact Zai support. | No |
| PayerAccountTypeInvalid | Payer account type is invalid - unable to debit funds within NPP. Please update the agreement with correct account details and try again or contact the payer. | No |
| PayeeAccountTypeInvalid | Payee account type is invalid - unable to credit funds within NPP. Please try again or contact Zai support. | No |
| UnexpectedError | Unexpected error occurred while processing the payment initiation request. Please try again or contact Zai support. | No |
| TransactionForbiddenOnPayerAccount | Either the Payer account does not allow debits within NPP or agreement to debit the account is not active. Please update the agreement with correct account details and try again or contact the Payer. | No |
| NPPTransactionNotSupported | Payee institution has rejected the NPP payment from Payer institution. Please try again or contact Zai support. | No |
| UnspecifiedReason | Payment initiation request has been rejected by the Payer institution without any specified reason. | Yes |
| RequestedByPayer | Payment rejection has been requested by the Payer. Please contact the Payer or retry the same payment again. | Yes |
| ClearingAndSettlementError | An error occurred during clearing and settlement of the payment. Please retry the same payment again or contact Zai support. | Yes |
| UndisclosedReason | Payment has been rejected due to undisclosed reasons. | No |
| RequestedByPayer-UnspecifiedReason | Payment has been rejected by the Payer without any specified reason. Please retry the same payment again or contact the Payer. | Yes |
| Prohibited | Payment has been rejected as it is considered prohibited. | No |
| RequestedByPayerBank-UnspecifiedReason | Payment has been rejected by the Payer institution without any specified reason. Please try again or contact the Payer institution. | No |
| PayeeNotOnAllowlistOfPayer | Payee not on the allowlist/trusted list of the Payer. Please try again or contact the Payer. | No |
| PayeeOnBlocklistOfPayer | Payee is blocked/blacklisted by the Payer. Please try again or contact the Payer. | No |
| ExceedsMaxAllowedDirectDebitTransactions | The payment request exceeds the maximum number of direct debit transactions allowed on the Payer account. Please retry the same payment again or contact the Payer. | Yes |
| ExceedsMaxAllowedDirectDebitTransactionAmount | The payment amount requested exceeds the maximum amount that can be debited from the Payer account via direct debit. Please retry the same payment again or contact the Payer. | Yes |
| UnexpectedError-RetrySamePayment | Unexpected error occurred while processing the payment initiation request. Please retry the same payment again or contact Zai support. | Yes |
| PayerUnavailable | Payer institution is unavailable. Please retry the same payment again or contact the Payer. | Yes |
| InvalidPayerPayID | PayID details of the Payer are no longer valid. Please update the agreement with correct details and try again or contact the Payer. | No |
| PayerBSBNotNPPReachable | Payer BSB is not NPP reachable. Please update the agreement with correct details and try again or contact the Payer. | No |
| PayerNotNPPReachable | Payer is no longer reachable on NPP. Please try again or cancel the agreement. | No |
| PayeeNotNPPReachable | Payee is no longer reachable on NPP. Please try again or contact Zai support. | No |
| IncorrectPayerPayID | PayID details of the Payer are no longer valid as the PayID has been ported incorrectly. Please update the agreement with correct details and try again or contact the Payer. | No |
| NotRetryEligible | Retries are allowed only if the payment has been rejected with retry eligible rejection reasons. | No |
| EndToEndIDInvalidOrMissing | EndToEndID is either invalid or missing. Please correct the end to end id and retry the same payment again. | Yes |
| Non-CompliantPayment | Payment amount is not as per the agreed payment terms and conditions. Please correct the amount and retry the same payment again. | Yes |
| NPPLimitExceeded | Payment amount requested exceeds the agreed limits for the Payer account. Please correct the amount and retry the same payment again. | Yes |
| UnrecognisedInitiatingParty | The Payer has requested the payment rejection as the Initiating party is not recognised by them. Please try again or contact the Payer. | No |
| UnknownPayer | The payment has been rejected by the Payer institution as the Payer is not known as per records. Please try again or contact the Payer. | No |
| PayeeBSBNotNPPReachable | Payee BSB is not NPP reachable. Please try again or contact Zai support. | No |
| PayerNameOrAddressDetailsMissing | Payer name or address details are missing. Please update the agreement with complete Payer details and try again. | No |
| PayeeNameOrAddressDetailsMissing | Payee name or address details are missing. Please try again or contact Zai support. | No |
| UnknownReason | Payment has been rejected due to unknown reason. | No |
| PayeeUnavailable | Payee institution is unavailable. Please retry the same payment again or contact Zai support. | Yes |
| PayerNameMissing | Payer name is missing. Please update the agreement with complete Payer details and try again. | No |
| UnsupportedCurrency | Unable to debit funds in AUD from the provided Payer account. | No |
| AmountExceedsMaxNPPLimit | Payment amount either exceeds the maximum allowed NPP limit of $99,999,999,999 or maximum allowed NPP limit for the Payer account. | No |
status_reason_description:
type: string
description: Free text field to provide reason description.
example: reason description
created_at:
type: string
description: Payment request creation date.
example: '2022-03-21 16:25:00.312368'
updated_at:
type: string
description: Payment request modification date.
example: '2022-03-22 16:25:00.312368'
payment_info:
$ref: '#/components/schemas/PaymentInfo'
description: "Payment information for each retry attempt. \n \n **Property descriptions**: \n \n- **instruction_id** - Unique identifier for the payment request generated as per NPPA guidelines. This identifier is used to identify the payment uniquely with NPPA and payer as well.\n- **status** - Current status of Initiate Payment Request.\n- **status_description** - Details/description for the status.\n - **created_at** - Date representation of the payment request creation.\n - **updated_at** - Date representation of the last update of the payment request.\n- **payment_info** - Payment info for payment request."
InitiatePaymentStatusResponse:
type: object
properties:
payment_request_uuid:
type: string
description: Unique identifier for the payment request in UUID format.
example: d0c40d95-95b7-449b-9835-3c97c0386585
instruction_id:
type: string
description: Unique identifier for each payment and retry request generated as per NPPA guidelines.
example: BANKNTSTXXXI20180501000000000000010
agreement_uuid:
type: string
description: Unique agreement identifier.
example: d0c40d95-95b7-449b-9835-3c97c0386585
agreement_id:
type: string
description: Unique agreement identifier generated by NPPA.
example: 00000000000010008000000000000000
status:
title: Status
type: string
description: Possible statuses for payment or retry requests:| Code | Description |
| PENDING_PAYMENT_INITIATION | Payment request is pending for initiation. |
| PAYMENT_INITIATED | Payment request is initiated. |
| PAYMENT_INITIATION_COMPLETED | Payment request is completed. |
| PAYMENT_INITIATION_REJECTED | Payment request is rejected. |
enum:
- PENDING_PAYMENT_INITIATION
- PAYMENT_INITIATED
- PAYMENT_INITIATION_COMPLETED
- PAYMENT_INITIATION_REJECTED
status_description:
type: string
description: Free text field to provide description status
example: status description
status_reason_code:
type: string
description: Free text field to provide reason code:| Reason Code | Description | Retry eligible |
| ClearingAndSettlementError | An error occurred during clearing and settlement of the payment. Please retry the same payment again or contact Zai support. | Yes |
| PayeeBankOffline | Payee institution is offline. Please try again or contact Zai support. | No |
| PayerAccountNumberInvalid | Payer account details or PayID provided is invalid or does not exist within NPP. Please update the agreement with correct account details and try again. | No |
| PayeeAccountNumberInvalid | Payee account details provided is invalid or does not exist within NPP. Please try again or contact Zai support. | No |
| PayerAccountClosed | Payer account provided is closed. Please update the agreement with correct account details and try again. | No |
| InsufficientFunds | Payer account has insufficient funds at the moment. Please contact the payer and retry the same payment again after funds availability. | Yes |
| BlockedAccount | Account provided is temporarily blocked. Please retry the same payment again after some time or contact the payer. | Yes |
| PayeeAccountClosed | Payee account provided is closed. Please try again or contact Zai support. | No |
| PayerAccountTypeInvalid | Payer account type is invalid - unable to debit funds within NPP. Please update the agreement with correct account details and try again or contact the payer. | No |
| PayeeAccountTypeInvalid | Payee account type is invalid - unable to credit funds within NPP. Please try again or contact Zai support. | No |
| UnexpectedError | Unexpected error occurred while processing the payment initiation request. Please try again or contact Zai support. | No |
| TransactionForbiddenOnPayerAccount | Either the Payer account does not allow debits within NPP or agreement to debit the account is not active. Please update the agreement with correct account details and try again or contact the Payer. | No |
| NPPTransactionNotSupported | Payee institution has rejected the NPP payment from Payer institution. Please try again or contact Zai support. | No |
| UnspecifiedReason | Payment initiation request has been rejected by the Payer institution without any specified reason. | Yes |
| RequestedByPayer | Payment rejection has been requested by the Payer. Please contact the Payer or retry the same payment again. | Yes |
| UndisclosedReason | Payment has been rejected due to undisclosed reasons. | No |
| RequestedByPayer-UnspecifiedReason | Payment has been rejected by the Payer without any specified reason. Please retry the same payment again or contact the Payer. | Yes |
| Prohibited | Payment has been rejected as it is considered prohibited. | No |
| RequestedByPayerBank-UnspecifiedReason | Payment has been rejected by the Payer institution without any specified reason. Please try again or contact the Payer institution. | No |
| PayeeNotOnAllowlistOfPayer | Payee not on the allowlist/trusted list of the Payer. Please try again or contact the Payer. | No |
| PayeeOnBlocklistOfPayer | Payee is blocked/blacklisted by the Payer. Please try again or contact the Payer. | No |
| ExceedsMaxAllowedDirectDebitTransactions | The payment request exceeds the maximum number of direct debit transactions allowed on the Payer account. Please retry the same payment again or contact the Payer. | Yes |
| ExceedsMaxAllowedDirectDebitTransactionAmount | The payment amount requested exceeds the maximum amount that can be debited from the Payer account via direct debit. Please retry the same payment again or contact the Payer. | Yes |
| UnexpectedError-RetrySamePayment | Unexpected error occurred while processing the payment initiation request. Please retry the same payment again or contact Zai support. | Yes |
| PayerUnavailable | Payer institution is unavailable. Please retry the same payment again or contact the Payer. | Yes |
| InvalidPayerPayID | PayID details of the Payer are no longer valid. Please update the agreement with correct details and try again or contact the Payer. | No |
| PayerBSBNotNPPReachable | Payer BSB is not NPP reachable. Please update the agreement with correct details and try again or contact the Payer. | No |
| PayerNotNPPReachable | Payer is no longer reachable on NPP. Please try again or cancel the agreement. | No |
| PayeeNotNPPReachable | Payee is no longer reachable on NPP. Please try again or contact Zai support. | No |
| IncorrectPayerPayID | PayID details of the Payer are no longer valid as the PayID has been ported incorrectly. Please update the agreement with correct details and try again or contact the Payer. | No |
| NotRetryEligible | Retries are allowed only if the payment has been rejected with retry eligible rejection reasons. | No |
| EndToEndIDInvalidOrMissing | EndToEndID is either invalid or missing. Please correct the end to end id and retry the same payment again. | Yes |
| Non-CompliantPayment | Payment amount is not as per the agreed payment terms and conditions. Please correct the amount and retry the same payment again. | Yes |
| NPPLimitExceeded | Payment amount requested exceeds the agreed limits for the Payer account. Please correct the amount and retry the same payment again. | Yes |
| UnrecognisedInitiatingParty | The Payer has requested the payment rejection as the Initiating party is not recognised by them. Please try again or contact the Payer. | No |
| UnknownPayer | The payment has been rejected by the Payer institution as the Payer is not known as per records. Please try again or contact the Payer. | No |
| PayeeBSBNotNPPReachable | Payee BSB is not NPP reachable. Please try again or contact Zai support. | No |
| PayerNameOrAddressDetailsMissing | Payer name or address details are missing. Please update the agreement with complete Payer details and try again. | No |
| PayeeNameOrAddressDetailsMissing | Payee name or address details are missing. Please try again or contact Zai support. | No |
| UnknownReason | Payment has been rejected due to unknown reason. | No |
| PayeeUnavailable | Payee institution is unavailable. Please retry the same payment again or contact Zai support. | Yes |
| PayerNameMissing | Payer name is missing. Please update the agreement with complete Payer details and try again. | No |
| PayeeNameMissing | Payee name is missing in the agreement. Please try again or contact Zai support. | No |
| UnsupportedCurrency | Unable to debit funds in AUD from the provided Payer account. | No |
| AmountExceedsMaxNPPLimit | Payment amount either exceeds the maximum allowed NPP limit of $99,999,999,999 or maximum allowed NPP limit for the Payer account. | No |
status_reason_description:
type: string
description: Free text field to provide reason description.
example: reason description
payment_reconciled:
type: boolean
description: Indicator to say whether the payment has been reconciled successfully on user's wallet or not.
example: true
created_at:
type: string
description: Payment request creation date.
example: '2022-03-21 16:25:00.312368'
updated_at:
type: string
description: Payment request modification date.
example: '2022-03-22 16:25:00.312368'
payment_info:
$ref: '#/components/schemas/PaymentInfo'
retry_attempts:
$ref: '#/components/schemas/RetryAttempts'
description: "Definition of PayTo Payment Details. \n\n **Property descriptions**: \n\n- **payment_request_uuid** - Unique identifier for the payment request in UUID format.\n- **instruction_id** - Unique identifier for the payment request generated as per NPPA guidelines. This identifier is used to identify the payment uniquely with NPPA and payer as well.\n- **agreement_uuid** - Unique agreement identifier.\n- **agreement_id** - Unique agreement identifier generated by NPPA.\n- **status** - Current status of the payment or retry request.\n- **status_description** - Details/description for the status.\n- **status_reason_code** - Reason code for the current payment initiation request status.\n- **status_reason_description** - Detailed description of the status reason code.\n- **payment_reconciled** - Indicator to say whether the payment has been reconciled successfully on user's wallet or not.\n - **created_at** - Date representation of the payment request creation.\n - **updated_at** - Date representation of the last update of the payment request.\n- **payment_info** - Payment information for the payment request.\n- **retry_attempts** - Payment information for all retry attempts."
InitiatePaymentRequest:
required:
- payment_info
- priority
type: object
properties:
priority:
title: Priority
type: string
description: "Indicates payment processing priority. Supported values
\n| Code | Description |
| ATTENDED | Payment marked as attended will be processed immediately and will be rejected if the responding participant is not available |
| UNATTENDED | Payments marked as unattended may not be processed immediately. In cases where the responding participant is not available, the payment will be stored for later processing and hence won’t be rejected |
"
example: ATTENDED
enum:
- ATTENDED
- UNATTENDED
payment_info:
$ref: '#/components/schemas/PaymentInformation'
retry_info:
$ref: '#/components/schemas/RetryInformation'
description: "Definition of the Initiate Payment request data.\n \n **Property descriptions**: \n \n- **priority** - Indicates payment processing priority.\n Supported values: \n\n - Attended: Payment marked as attended will be processed immediately and will be rejected if the responding participant is not available\n - Unattended: Payments marked as unattended may not be processed immediately. In cases where the responding participant is not available, the payment will be stored for later processing and hence won’t be rejected\n- **payment_info** - Payment info for payment request.\n- **retry_info** - Retry information should be provided only if the payment request was rejected previously due to business reasons and a retry for the same is being attempted."
PayToErrorResponse:
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/ErrorDetails'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT