> This page is for Enterprise.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://citi-demo.ferndocs.com/enterprise/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://citi-demo.ferndocs.com/enterprise/_mcp/server.

# Inquire for the latest status of transations matching additional parameters.

GET https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments

-Get the latest statuses of payment transactions using matching criteria. Currently, you can get the latest transactions statuses up to 90 days from the payment initiation date. If the latest transactions statuses date is 90+ days old, the endpoint responds with HTTP status 404 (not found).
-You can use this endpoint to pull the transactions of all payment methods that includes Wires, ACH, and IP. For ACH and Wires, use the end_to_end_id to pull the transactions.


Reference: https://citi-demo.ferndocs.com/enterprise/enterprises/api-reference/payment-services/instant-payments/express-instant-payments/list-payments

## Authentication

- `Authorization` header (bearer token, required) — All CitiConnect APIs use the oAuth2 authentication scheme, which requires a bearer token to authenticate your API call. The Token URL includes the version of authentication used by this API. See the Citi Authentication API reference for information on requesting a token.

## Servers

- `https://b2b.api.icg.citi.com/citiconnect/prod` (production gateway url, default)
- `https://sandbox.b2b.api.icg.citi.com/citiconnect/sb` (sbox url )

## Request

### Query parameters

- `client_id` (string, required) — Your unique identification, same as the identification you use for OAuth token generation, Citi shared with you during your CitiConnect API onboarding
- `end_to_end_id` (string, optional) — Transaction identification provided by the debtor
- `network_id` (string, optional) — Transaction reference generated for or by a network (e.g., PromptPay)
- `batch_id` (string, optional) — Identification for your Citi account consolidated debit or credit posting for the transactions
- `creation_date_time_start` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Instant Payment (Debit) - Start of date time, generated by CitiConnect API, when CitiConnect API accepted a payment initiation after validation - Instant Payment (Credit) - Start of date time, either provided by the debtor bank or generated by Citi's transaction processing application, when a transaction was created
- `creation_date_time_end` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Instant Payment (Debit) - End of date time, generated by CitiConnect API, when CitiConnect API accepted a payment initiation after validation - Instant Payment (Credit) - End of date time, either provided by the debtor bank or generated by Citi's transaction processing application, when a transaction was created
- `instructed_amount` (double, optional) — Instructed amount
- `settlement_amount` (double, optional) — Settlement amount (e.g., after any currency exchange or charge on the instructed amount)
- `status_date_time_start` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Instant Payment - Start date time of the transaction status change (when CitiConnect API change the status of the transaction)
- `status_date_time_end` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Instant Payment - Start end time of the transaction status change (when CitiConnect API change the status of the transaction)
- `status_code` (enum, optional) — ISO 20022 transaction status code
  - Allowed values: `ACTC`, `PDNG`, `RJCT`, `ACCC`, `ACWP`
- `debtor_account_last4` (string, optional) — Last 4 digits of a debtor account in combination with your Citi creditor account
- `creditor_account_last4` (string, optional) — Last 4 digits of a creditor account number in combination with your Citi debtor account
- `offset` (integer, optional, default: 0) — Payment status inquiry result page you want Citi to respond to you with
- `limit` (integer, optional, default: 100) — Limit you want Citi to apply to your payment status inquiry results - Maximum value is 1,000.

### Headers

- `encrypted-params` (string, optional) — Encrypt the key values as below. Debtor account or creditor account is mandatory. * **debtor\_account:** Your Citi account for instant payment (debit) / outgoing * **creditor\_account:** Your Citi account for instant payment (credit) / incoming * **debtor\_proxy\_id:** Debtor proxy identification - For US RTP Instant Payment - debtor\_proxy\_id header param is not applicable * **creditor\_proxy\_id:** Creditor proxy identification - For US RTP Instant Payment - creditor\_proxy\_id header param is not applicable * **debtor\_virtual\_account:** Your Citi virtual account for instant payment (debit) / outgoing - For US RTP Instant Payment - debtor\_virtual\_account header param is not applicable * **creditor\_virtual\_account:** Your Citi virtual account for instant payment (credit) / incoming - For US RTP Instant Payment - creditor\_virtual\_account header param is not applicable ***Sample header before encryption:*** \{"debtor\_account":"3001386964","creditor\_proxy\_id":"[a93d@gmail.com](mailto:a93d@gmail.com)"}

## Response

### 200

Payment status

- `list of Payments`

## Errors

### 400 Bad Request Error

Bad Request

- `ref_id` (string, optional) — Unique ID for the Transaction
- `error_details` (list of Error-Detail, optional)

### 401 Unauthorized Error

Unauthorized

- `ref_id` (string, optional) — Unique ID for the Transaction
- `error_details` (list of Error-Detail, optional)

### 404 Not Found Error

Not Found

- `ref_id` (string, optional) — Unique ID for the Transaction
- `error_details` (list of Error-Detail, optional)

### 405 Method Not Allowed Error

Method Not Allowed

- `ref_id` (string, optional) — Unique ID for the Transaction
- `error_details` (list of Error-Detail, optional)

### 500 Internal Server Error

Internal Server Error

- `ref_id` (string, optional) — Unique ID for the Transaction
- `error_details` (list of Error-Detail, optional)

## Types

### Payments

Payment status notification / inquiry response

- `debtor` (Debtor-Status, required) — Debtor information
- `creditor` (Creditor-Status, required) — Object representing the receiver of a transaction.
- `method` (Method-Status, required)
- `transaction` (Transaction-Status, required)
- `message_id` (string, optional) — Message Identification - If transaction.status.code = ACCC/PDNG/RJCT/ACWP then this field may be present
- `ultimate_debtor` (Ultimate-Debtor-Status, optional)
- `ultimate_creditor` (Ultimate-Creditor-Status, optional)
- `intermediary` (list of Intermediary-Details-Status, optional) — Intermediary agent information status
- `instructed_agent` (Instructed-Agent-Status, optional)
- `instructing_agent` (Instructing-Agent-Status, optional)
- `account_validation` (Account-Validation-Status, optional)
- `initiating_party` (Initiating-Party-Status, optional)
- `original_payment` (Original-Payment, optional) — Either populate uetr OR (end_to_end_id AND value_date) for the refund to be processed

### Error-Detail

- `issue` (string, optional) — more details about the issue
- `action` (string, optional) — corrective action to be taken to resolve above issue
- `code` (string, optional) — unique code representing the issue

### Debtor-Status

Debtor information

- `proxy_id` (string, optional) — Specifies a character string with a maximum length of 128 characters. - For TH Instant payment debtor.proxy_id is optional - For US Instant payment debtor.proxy_id is not applicable - For IN IMPS debtor.proxy_id is not applicable - For UK FPS Instant payment debtor.proxy_id is not applicable - For JP Instant payment debtor.proxy_id is not applicable - For IN UPI Instant payment debtor.proxy_id is mandatory, applicable value VPA ID - For US Wire and ACH CCD/PPD/IAT debtor.proxy_id is not applicable - For SEPA IDP payment debtor.proxy_id is optional - For SEPA, debtor.proxy_id is optional - For Japan Instant payment debtor.proxy_id is not applicable
- `proxy_type` (enum, optional) — Debtor's proxy type (BIID for bill identification, EMAL for email address, EWAL for electronic wallet identification, MBNO for mobile number and NIDN for national identification) - For TH Instant payment debtor.proxy_type is optional - For US Instant payment debtor.proxy_type is not applicable - For IN IMPS debtor.proxy_type is not applicable - For UK FPS Instant payment debtor.proxy_type is not applicable - For JP Instant payment debtor.proxy_type is not applicable - For IN UPI Instant payment debtor.proxy_type is not applicable - For US Wire payment, debtor.proxy_type field is not applicable - For US ACH CCD/PPD/IAT payment, debtor.proxy_type field is not applicable - For SEPA IDP, this field is optional with max length 35 - For SEPA, this field is optional with max length 35
  - Allowed values: `BIID`, `EMAL`, `EWAL`, `MBNO`, `NIDN`
- `tax_id` (string, optional) — Debtor's tax identification - For TH Instant payment debtor.tax_id is optional - For US Instant payment debtor.tax_id is not applicable - For IN IMPS debtor.tax_id field is not applicable - For UK FPS Instant payment debtor.tax_id is not applicable - For JP Instant payment debtor.tax_id is not applicable - For IN UPI debtor.tax_id field is not applicable - For US Wire, debtor.tax_id is not applicable - For US ACH CCD/PPD/IAT payment, debtor.tax_id field is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `account` (string, optional) — Debtor's bank account - For IN IMPS debtor.account field, allowed max length is 34 - For UK FPS Instant payment debtor.account field allowed max length is 34 and either account number or IBAN/BBAN number can be passed - For IN UPI Instant payment debtor.account field allowed max length is 34 - For US Instant payment, debtor.account is a mandatory field with and max length 34 and allowed value is Virtual account number and DDA. - For US Wire payment, debtor.account is a mandatory field with and max length 17 and allowed value is Virtual account number. - For US ACH CCD/PPD payment, debtor.account is a mandatory field with max length 17 and allowed value is Virtual account number. - For US ACH IAT payment, debtor.account is a mandatory field with max length 17 and allowed value is Virtual account number. - For SEPA IDP, this field is mandatory with max length 34 - For Japan Instant payment debtor.account field is mandatory and allowed max length is 34 - For SEPA, this field is mandatory with max length 34
- `account_name` (string, optional) — Debtor Account name, different from the Debtor Name - For TH Instant payment debtor.account_name is not applicable - For US Instant payment debtor.account_name is optional - For IN IMPS debtor.account_name is not applicable - For UK FPS Instant payment debtor.account_name is not applicable - For JP Instant payment debtor.account_name is not applicable - For IN UPI debtor.account_name is not applicable - For US Wire, debtor.account_name is not applicable - For US ACH CCD/PPD/IAT payment, debtor.account_name is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `virtual_account` (string, optional) — Debtor's virtual account - For TH Instant payment debtor.virtual_account is optional - For US Instant payment virtual_account is not applicable - For IN IMPS virtual_account is not applicable - For UK FPS Instant payment virtual_account is not applicable - For JP Instant payment debtor.virtual_account field is applicable - For IN UPI virtual_account is not applicable - For US Wire, debtor.vitual_account is not applicable - For US ACH CCD/PPD/IAT payment, debtor.virtual_account field is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `name` (string, optional) — Debtor's bank account name - For TH Instant payment debtor.name is not applicable - For US Instant payment debtor.name is mandatory - For IN IMPS Instant payment debtor.name is mandatory with max length 99 - For UK FPS Instant payment debtor.name field is optional with max length 40 - For IN UPI Instant payment debtor.name is mandatory with max length 99 - For US Wire payment, debtor.name field is mandatory with max length 35. Name cannot contains only NUMERIC values - For US ACH CCD/PPD payment, debtor.name field is mandatory with max length 16 - For US ACH IAT payment, debtor.name field is mandatory with max length 35 - For SEPA IDP payment debtor.name is mandatory with max length 70 - For Japan Instant payment debtor.name field is optional - For SEPA, debtor.name is mandatory with max length 70
- `address_lines` (list of string, optional) — Debtor's address_lines - For TH Instant payment debtor.address_lines is not applicable - For US Instant payment debtor.address_lines is optional - For IN IMPS debtor.address_lines is optional and allowed seven instance with each line max length of 70 - For UK FPS Instant payment debtor.address_lines is optional and allowed only four instance with each line max length of 35 - For IN UPI debtor.address_lines is optional and allowed seven instance with each line max length of 70 - For US Wire payment, debtor.address_lines field is conditional and upto 3 lines of min 1 and max 35 characters are allowed. Partial addresses will not be accepted, Street name, city and country should present in address_line. address_lines should present only if structured address tags (street name, building number, city, state and postal code) are not present - For US ACH CCD/PPD/IAT payment, debtor.address_lines is mandatory when structured address lines fields are not provided and allowed three instance with each line max length of 35, Address Line 1 should have Building info followed by asterik, Street Address ends with a single backslash Address Line 2 and then application to check Address Line2 should have City followed by asterik, State ends with a single backslash Address Line 3 should have Zip Code followed by asterik, Country Code ends with a single backslash For example Zip code*US\ - For SEPA IDP debtor.address_lines is optional and allowed two instance with each line max length of 70 - For Japan Instant payment debtor.address_lines is not applicable - For SEPA, debtor.address_lines is optional and allowed two instance with each line max length of 70
- `street_name` (string, optional) — Debtor's street_name - For TH Instant payment debtor.street_name is not applicable - For US Instant payment debtor.street_name is optional - For IN IMPS debtor.street_name is optional - For UK FPS Instant payment debtor.street_name is not applicable - For IN UPI debtor.street_name is optional - For US Wire, debtor.street_name field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, debtor.street_name field is mandatory when debtor.address_lines field is not provided and allowed max length is 18 - For SEPA IDP, debtor.street_name is optional with max length 70 - For Japan Instant payment debtor.street_name is not applicable - For SEPA, debtor.street_name is optional with max length 70
- `building_number` (string, optional) — Debtor's building_number - For TH Instant payment debtor.building_number is not applicable - For US Instant payment debtor.building_number field is optional - For IN IMPS debtor.building_number field is optional - For UK FPS Instant payment debtor.building_number is not applicable - For IN UPI debtor.building_number field is optional - For US Wire payment, debtor.building_number field is conditional with max length 16. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, debtor.building_number field is mandatory when debtor.address_lines field is not provided and allowed max length is 16 - For SEPA IDP, debtor.building_number is optional with max length 16 - For Japan Instant payment debtor.building_number is not applicable - For SEPA, debtor.building_number is optional and allowed MaxLength is 16
- `postal_code` (string, optional) — Debtor's postal_code - For TH Instant payment debtor.postal_code is not applicable - For US Instant payment debtor.postal_code field is optional - For IN IMPS debtor.postal_code is optional - For UK FPS Instant payment debtor.postal_code is not applicable - For IN UPI debtor.postal_code is optional - For US Wire, debtor.postal_code field is conditional with max length 16. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, debtor.postal_code field is mandatory when debtor.address_lines field is not provided and allowed max length is 16 - For SEPA IDP, debtor.postal_code is optional with max length 16 - For Japan Instant payment debtor.postal_code is not applicable - For SEPA, debtor.postal_code is optional with max length 16
- `city` (string, optional) — Debtor's city - For TH Instant payment city is not applicable - For US Instant payment city field is optional - For IN IMPS debtor.city is optional - For UK FPS Instant payment debtor.city is not applicable - For IN UPI debtor.city is optional - For US Wire, debtor.city field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, debtor.city field is mandatory when debtor.address_lines field is not provided and allowed max length is 32 - For SEPA IDP, debtor.city is optional with max length 35 - For Japan Instant payment debtor.city is not applicable - For SEPA, debtor.city is optional with max length 35
- `state` (string, optional) — Debtor's State - For TH Instant payment debtor.state is not applicable - For US Instant payment debtor.state field is optional - For IN IMPS debtor.state is optional - For UK FPS Instant payment debtor.state is not applicable - For IN UPI debtor.state is optional - For US Wire, debtor.state field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, debtor.state field is mandatory when debtor.address_lines field is not provided and allowed max length is 2 - For SEPA IDP, debtor.state is optional with max length 35 - For Japan Instant payment debtor.state is not applicable - For SEPA, debtor.state is optional with max length 35
- `country` (string, optional) — Debtor's Country - For TH Instant payment debtor.country is not applicable - For US Instant payment debtor.country field is optional - For IN IMPS debtor.country is optional - For UK FPS Instant payment debtor.country field is mandatory, if debtor.address_line is provided by client - For IN UPI debtor.country is optional - For US Wire, debtor.country field is mandatory with max length 2. - For US ACH CCD/PPD/IAT payment, debtor.country field is mandatory when debtor.address_lines field is not provided and allowed max length is 2 - For SEPA IDP, debtor.country is optional - For Japan Instant payment debtor.country is not applicable - For SEPA, debtor.country is optional
- `org_id` (string, optional) — Debtor's org\_id * For TH Instant payment debtor.org\_id is not applicable * For US Instant payment debtor.org\_id field is optional.Pattern should be followed \[A-Z0-9]\[0-9] where first 18 characters can be uppercase or numbers and the last two characters must be numeric * For IN IMPS debtor.org\_id is not applicable * For UK FPS Instant payment debtor.org\_id is not applicable * For IN UPI debtor.org\_id is not applicable * For US Wire, debtor.org\_id is not applicable * For US ACH CCD/PPD/IAT payments, debtor.org\_id field is optional * For SEPA IDP, debtor.org\_id is optional with max length 35 * For Japan Instant payment debtor.org\_id is not applicable * For SEPA, debtor.org\_id is optional with max length 35
- `birth_date` (date, optional) — ISO 8601 (YYYY-MM-DD), Debtor's birth_date - For TH Instant payment debtor.birth_date is not applicable - For US Instant payment debtor.birth_date field is optional - For IN IMPS debtor.birth_date is not applicable - For UK FPS Instant payment debtor.birth_date is not applicable - For IN UPI debtor.birth_date is not applicable - For US Wire, debtor.birth_date is not applicable - For US ACH CCD/PPD/IAT payment, debtor.birth_date field is not applicable - For SEPA IDP debtor.birth_date field is optional - For Japan Instant payment debtor.birth_date is not applicable - For SEPA, debtor.birth_date field is optional
- `birth_city` (string, optional) — Debtor's birth_city - For TH Instant payment debtor.birth_city is not applicable - For US Instant payment debtor.birth_city field is optional - For IN IMPS debtor.birth_city is not applicable - For UK FPS Instant payment debtor.birth_city is not applicable - For IN UPI debtor.birth_city is not applicable - For US Wire, debtor.birth_city is not applicable - For US ACH CCD/PPD/IAT payment, debtor.birth_city field is not applicable - For SEPA IDP debtor.birth_city field is optional with max length 35 - For Japan Instant payment debtor.birth_city is not applicable - For SEPA, debtor.birth_city field is optional with max length 35
- `birth_country` (string, optional) — Debtor's birth_country - For TH Instant payment debtor.birth_country is not applicable - For US Instant payment debtor.birth_country field is optional - For IN IMPS debtor.birth_country is not applicable - For UK FPS Instant payment debtor.birth_country is not applicable - For IN UPI debtor.birth_country is not applicable - For US Wire, debtor.birth_country is not applicable - For US ACH CCD/PPD/IAT payment, debtor.birth_country field is not applicable - For SEPA IDP debtor.birth_country field is optional - For Japan Instant payment debtor.birth_country is not applicable - For SEPA, debtor.birth_country field is optional
- `bank_id` (string, optional) — Debtor bank's network identification (e.g., routing number in the United States) * For TH Instant payment debtor.bank\_id field is optional and allowed maxlength is 3 * For US Instant payment debtor.bank\_id field is mandatory * For IN IMPS Instant payment debtor.bank\_id field is mandatory and client should pass IFSC code (including branch code) * For UK FPS Instant payment debtor.bank\_id field is optional and allowed maxlength is 11 * For IN UPI Instant payment debtor.bank\_id field is mandatory with max length 11 * For US Wire, debtor.bank\_id field is mandatory. Either BIC or MmbId must be provided. If the input is BIC, min and max length should be 8 and 11 and should adhere to pattern \[A-Z]\[A-Z2-9][A-NP-Z0-9](\[A-Z0-9]\{3,3}). If it is routing code, min and max length is 9. BIC is mandatory if branch 915 used, routing code should not use if branch 915 is used * For US ACH CCD/PPD/IAT payment, debtor.bank\_id field is optional and allowed max length is 9. * For SEPA IDP debtor.bank\_id field is mandatory with max length 11 * For SEPA IDP debtor.bank\_id field is mandatory with max length 11 * For Japan Instant payment debtor.bank\_id is optional * For SEPA,debtor.bank\_id field is mandatory with max length 11
- `bank_branch_id` (string, optional) — Debtor bank's branch network identification - For TH Instant payment debtor.bank_branch_id field is not applicable - For US Instant payment debtor.bank_branch_id field is not applicable - For UK Instant payment debtor.bank_branch_id field is not applicable - For JP Instant payment debtor.bank_branch_id is applicable - For IN IMPS Instant payment debtor.bank_branch_id field is not applicable - For IN UPI Instant payment debtor.bank_branch_id field is not applicable - For US Wire, debtor.bank_branch_id is not applicable - For Stripe_US ACH CCD/PPD/IAT payment, debtor.bank_branch_id is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `mobile_number` (string, optional) — Debtor's mobile number - For TH Instant payment debtor.mobile_number field is not applicable - For US Instant payment debtor.mobile_number field is not applicable - For IN IMPS debtor.mobile_number field is optional - For UK FPS Instant payment debtor.mobile_number is not applicable - For IN UPI debtor.mobile_number field is mandatory, if transaction.advice_type is SMSM - For US Wire, debtor.mobile_number is not applicable - For US ACH CCD/PPD/IAT payment, debtor.mobile_number field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment debtor.mobile_number is not applicable - For SEPA, this field is not applicable
- `prvt_id` (string, optional) — Debtor's private id - For TH Instant payment debtor.prvt_id is not applicable - For US Instant payment debtor.prvt_id field is optional with max length 35.Either org_id or prvt_id or none of them should be passed by client - For IN IMPS debtor.prvt_id is not applicable - For UK FPS Instant payment debtor.prvt_id is not applicable - For IN UPI debtor.prvt_id is not applicable - For US Wire, debtor.prvt_id is not applicable - For US ACH CCD/PPD/IAT payments, debtor.prvt_id field is optional and applicable value is tax identification - For SEPA IDP debtor.prvt_id field is optional with max length 35 - For Japan Instant payment debtor.prvt_id is not applicable - For SEPA, debtor.prvt_id field is optional with max length 35
- `bank_instructions` (string, optional) — instruction for debtor agent Indicator of the urgency of the payment to instructed party. - For Thailand PromptPay debtor.bank_instructions field is not applicable - For United States debtor.bank_instructions field is not applicble - For IN IMPS debtor.bank_instructions field is not applicable - For UK FPS Instant payment debtor.bank_instructions field is not applicable - For IN UPI debtor.bank_instructions field is not applicable - For US Wire, debtor.bank_instructions is an optional field with min 1 and max 35 characters . This fields is used to provide Bank to Bank details in the multiple occurrences of this tag. Further information related to the processing of the payment instruction that may need to be acted upon by the debtor agent, depending on agreement between debtor and the debtor agent. The following instructions to Citibank are supported: - /PREFORMAT/code/group - preformat code and group - /CONFIDENTIAL/ - confidential indicator - /REC/info - information to Citigroup operations - information without code word is interpreted as /REC/ - For US ACH CCD/PPD/IAT payment, debtor.bank_instructions field is optional, client want to do confidential transaction then the value should be /CONFIDENTIAL/ and client want to do Preformat transaction then the value should be /PREFORMAT/CODE/GROUP. - For SEPA IDP, this field is not applicable - For Japan Instant payment debtor.bank_instructions is not applicable - For SEPA, this field is not applicable
- `department` (string, optional) — Debtor Address Department - For TH Instant payment debtor.department is not applicable - For US Instant payment debtor.department is not applicable - For IN IMPS debtor.department is not applicable - For UK FPS Instant payment debtor.department is not applicable - For IN UPI debtor.department is not applicable - For US Wire, debtor.department is not applicable - For US ACH CCD/PPD payment, debtor.department is not applicable - For US ACH IAT payment, debtor.department is not applicable - For US ACH IAT payment, debtor.department is not applicable - For SEPA IDP, debtor.department is optional with max length 70 - For Japan Instant payment debtor.department is not applicable - For SEPA, debtor.department is optional with max length 70
- `sub_department` (string, optional) — Debtor Address Sub-Department - For TH Instant payment debtor.sub_department is not applicable - For US Instant payment debtor.sub_department is not applicable - For IN IMPS debtor.sub_department is not applicable - For UK FPS Instant payment debtor.sub_department is not applicable - For IN UPI debtor.sub_department is not applicable - For US Wire, debtor.sub_department is not applicable - For US ACH CCD/PPD payment, debtor.sub_department is not applicable - For US ACH IAT payment, debtor.sub_department is not applicable - For US ACH IAT payment, debtor.sub_department is not applicable - For SEPA IDP, debtor.sub_department is optional with max length 70 - For Japan Instant payment debtor.sub_department is not applicable - For SEPA, debtor.sub_department is optional with max length 70
- `building_name` (string, optional) — Debtor building name - For TH Instant payment debtor.building_name is not applicable - For US Instant payment debtor.building_name is not applicable - For IN IMPS debtor.building_name is not applicable - For UK FPS Instant payment debtor.building_name is not applicable - For IN UPI debtor.building_name is not applicable - For US Wire, debtor.building_name is not applicable - For US ACH CCD/PPD payment, debtor.building_name is not applicable - For US ACH IAT payment, debtor.building_name is not applicable - For US ACH IAT payment, debtor.building_name is not applicable - For SEPA IDP, debtor.building_name is optional with max length 35 - For Japan Instant payment debtor.building_name is not applicable - For SEPA, debtor.building_name is optional with max length 35
- `floor` (string, optional) — Debtor address floor - For TH Instant payment debtor.floor is not applicable - For US Instant payment debtor.floor is not applicable - For IN IMPS debtor.floor is not applicable - For UK FPS Instant payment debtor.floor is not applicable - For IN UPI debtor.floor is not applicable - For US Wire, debtor.floor is not applicable - For US ACH CCD/PPD payment, debtor.floor is not applicable - For US ACH IAT payment, debtor.floor is not applicable - For US ACH IAT payment, debtor.floor is not applicable - For SEPA IDP, debtor.floor is optional with max length 70 - For Japan Instant payment debtor.floor is not applicable - For SEPA, debtor.floor is optional with max length 70
- `post_box` (string, optional) — Debtor address post box - For TH Instant payment debtor.post_box is not applicable - For US Instant payment debtor.post_box is not applicable - For IN IMPS debtor.post_box is not applicable - For UK FPS Instant payment debtor.post_box is not applicable - For IN UPI debtor.post_box is not applicable - For US Wire, debtor.post_box is not applicable - For US ACH CCD/PPD payment, debtor.post_box is not applicable - For US ACH IAT payment, debtor.post_box is not applicable - For US ACH IAT payment, debtor.post_box is not applicable - For SEPA IDP, debtor.post_box is optional with max length 16 - For Japan Instant payment debtor.post_box is not applicable - For SEPA, debtor.post_box is optional with max length 16
- `room` (string, optional) — Debtor address room - For TH Instant payment debtor.room is not applicable - For US Instant payment debtor.room is not applicable - For IN IMPS debtor.room is not applicable - For UK FPS Instant payment debtor.room is not applicable - For IN UPI debtor.room is not applicable - For US Wire, debtor.room is not applicable - For US ACH CCD/PPD payment, debtor.room is not applicable - For US ACH IAT payment, debtor.room is not applicable - For US ACH IAT payment, debtor.room is not applicable - For SEPA IDP, debtor.room is optional with max length 70 - For Japan Instant payment debtor.room is not applicable - For SEPA, debtor.room is optional with max length 70
- `town_location_name` (string, optional) — Debtor address town location name - For TH Instant payment debtor.town_location_name is not applicable - For US Instant payment debtor.town_location_name is not applicable - For IN IMPS debtor.town_location_name is not applicable - For UK FPS Instant payment debtor.town_location_name is not applicable - For IN UPI debtor.town_location_name is not applicable - For US Wire, debtor.town_location_name is not applicable - For US ACH CCD/PPD payment, debtor.town_location_name is not applicable - For US ACH IAT payment, debtor.town_location_name is not applicable - For US ACH IAT payment, debtor.town_location_name is not applicable - For SEPA IDP, debtor.town_location_name is optional with max length 35 - For Japan Instant payment debtor.town_location_name is not applicable - For SEPA, debtor.town_location_name is optional with max length 35
- `district_name` (string, optional) — Debtor address district_name - For TH Instant payment debtor.district_name is not applicable - For US Instant payment debtor.district_name is not applicable - For IN IMPS debtor.district_name is not applicable - For UK FPS Instant payment debtor.district_name is not applicable - For IN UPI debtor.district_name is not applicable - For US Wire, debtor.district_name is not applicable - For US ACH CCD/PPD payment, debtor.district_name is not applicable - For US ACH IAT payment, debtor.district_name is not applicable - For US ACH IAT payment, debtor.district_name is not applicable - For SEPA IDP, debtor.district_name is optional with max length 35 - For Japan Instant payment debtor.district_name is not applicable - For SEPA, debtor.district_name is optional with max length 35
- `anybic` (string, optional) — Debtor BIC - For TH Instant payment debtor.anybic is not applicable - For US Instant payment debtor.anybic is not applicable - For IN IMPS debtor.anybic is not applicable - For UK FPS Instant payment debtor.anybic is not applicable - For IN UPI debtor.anybic is not applicable - For US Wire, debtor.anybic is not applicable - For US ACH CCD/PPD payment, debtor.anybic is not applicable - For US ACH IAT payment, debtor.anybic is not applicable - For US ACH IAT payment, debtor.anybic is not applicable - For SEPA IDP, debtor.anybic is optional with max length 11 - For Japan Instant payment debtor.anybic is not applicable - For SEPA, debtor.anybic is optional with max length 11
- `lei` (string, optional) — Unique global identifier for legal entities participating in financial transactions - For TH Instant payment debtor.lei is not applicable - For US Instant payment debtor.lei is not applicable - For IN IMPS debtor.lei is not applicable - For UK FPS Instant payment debtor.lei is not applicable - For IN UPI debtor.lei is not applicable - For US Wire, debtor.lei is not applicable - For US ACH CCD/PPD payment, debtor.lei is not applicable - For US ACH IAT payment, debtor.lei is not applicable - For US ACH IAT payment, debtor.lei is not applicable - For SEPA IDP, debtor.lei is optional with max length 20 - For Japan Instant payment debtor.lei is not applicable - For SEPA, debtor.lei is optional with max length 20
- `issuer` (string, optional) — Debtor name that identifies an issuer - For TH Instant payment debtor.issuer is not applicable - For US Instant payment debtor.issuer is not applicable - For IN IMPS debtor.issuer is not applicable - For UK FPS Instant payment debtor.issuer is not applicable - For IN UPI debtor.issuer is not applicable - For US Wire, debtor.issuer is not applicable - For US ACH CCD/PPD payment, debtor.issuer is not applicable - For US ACH IAT payment, debtor.issuer is not applicable - For US ACH IAT payment, debtor.issuer is not applicable - For SEPA IDP, debtor.issuer is optional with max length 35 - For Japan Instant payment debtor.issuer is not applicable - For SEPA, debtor.issuer is optional with max length 35
- `birth_province` (string, optional) — Debtor Province Of Birth - For TH Instant payment debtor.birth_province is not applicable - For US Instant payment debtor.birth_province is not applicable - For IN IMPS debtor.birth_province is not applicable - For UK FPS Instant payment debtor.birth_province is not applicable - For IN UPI debtor.birth_province is not applicable - For US Wire, debtor.birth_province is not applicable - For US ACH CCD/PPD payment, debtor.birth_province is not applicable - For US ACH IAT payment, debtor.birth_province is not applicable - For US ACH IAT payment, debtor.birth_province is not applicable - For SEPA IDP, debtor.birth_province is optional with max length 35 - For Japan Instant payment debtor.birth_province is not applicable - For SEPA, debtor.birth_province is optional with max length 35
- `bank_account` (string, optional) — Debtor's bank account number - For TH, US , IN IMPS, UK FPS, IN UPI, US Wire, US ACH CCD/PPD/IAT,SEPA,SEPA IDP and JP payments debtor.bank_account is not applicable - For India FIR IMPS payment, debtor.bank_account field is mandatory
- `bank_name` (string, optional) — Debtor's bank name - For TH Instant payment debtor.bank_name is not applicable - For US Instant payment debtor.bank_name is not applicable - For IN IMPS Instant payment debtor.bank_name is not applicable - For UK FPS Instant payment debtor.bank_name is not applicable - For IN UPI Instant payment debtor.bank_name is not applicable - For US Wire payment, debtor.bank_name is not applicable - For US ACH CCD/PPD/IAT payment, debtor.bank_name is optional with max length 35 - For SEPA IDP debtor.bank_name is not applicable - For Japan Instant payment debtor.bank_name is not applicable - For India FIR IMPS payment, debtor.bank_name is mandatory with max length 100 - For SEPA, debtor.bank_name is not applicable
- `scheme_name` (string, optional) — Debtor's scheme name

### Creditor-Status

Object representing the receiver of a transaction.

- `proxy_id` (string, optional) — Creditor's proxy identification (e.g., email address) - Thailand PromptPay - If you don't provide account, proxy_id is required. - For US Instant payment creditor.proxy_id field is not applicable - For IN IMPS creditor.proxy_id field is not applicable - For UK FPS Instant payment creditor.proxy_id field is not applicable - For IN UPI Instant payment creditor.proxy_id is mandatory and applicable value VPA ID, if creditor.account and creditor.bank_id is not provided by client - For US Wire, creditor.proxy_id field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.proxy_id is not applicable - For SEPA, creditor.proxy_id is optional - For Japan Instant payment creditor.proxy_id field is not applicable
- `payer_id` (string, optional) — Creditor's Payer ID - For SEPA, creditor.payer_id is optional and maxLength is 40 - Thailand PromptPay creditor.payer_id field is not applicable - For US Instant payment creditor.payer_id field is not applicable - For IN IMPS creditor.payer_id field is not applicable - For UK FPS Instant payment creditor.payer_id field is not applicable - For IN UPI Instant payment creditor.payer_id is not applicable - For US Wire, creditor.payer_id field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.payer_id is not applicable - For Japan Instant payment creditor.payer_id field is not applicable
- `proxy_type` (enum, optional) — Creditor's proxy type (BIID for bill identification, EMAL for email address, EWAL for electronic wallet identification, MBNO for mobile number and NIDN for national identification) - Thailand PromptPay - if you provide proxy_id, proxy_type is required.If creditor proxy_type is 'BIID', require client to mandatorily provide 'bill_id_1' value. - For US Instant payment creditor.proxy_type field is not applicable - For IN IMPS creditor.proxy_type field is not applicable - For UK FPS Instant payment creditor.proxy_type field is not applicable - For IN UPI creditor.proxy_type field is not applicable - For US Wire, creditor.proxy_type field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.proxy_type is not applicable - For SEPA IDP, creditor.proxy_type is optional - For Japan Instant payment creditor.proxy_type field is not applicable - For SEPA, creditor.proxy_type is optional
  - Allowed values: `BIID`, `EMAL`, `EWAL`, `MBNO`, `NIDN`
- `tax_id` (string, optional) — Creditor's tax identification - For TH Instant payment creditor.tax_id field is optional - For US Instant payment creditor.tax_id field is not applicable - For IN IMPS creditor.tax_id field is not applicable - For UK FPS Instant payment creditor.tax_id field is not applicable - For JP Instant payment creditor.tax_id field is not applicable - For IN UPI creditor.tax_id field is not applicable - For US Wire, creditor.tax_id is not appliable - For US ACH CCD/PPD/IAT payment, creditor.tax_id is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `account` (string, optional) — Creditor's bank account - Thailand PromptPay - If you don't provide proxy_id, account and bank_id is required - For US Instant payment creditor.account field is mandatory - For IN IMPS creditor.account field is mandatory with max length 34 - For UK FPS Instant payment creditor.account field is mandatory and allowed max length is 34, Client can pass either account number or IBAN/BBAN number - For IN UPI creditor.account field is mandatory with max length 34, if creditor.proxy_id is not provided by client - For US Wire, creditor.account is a mandatory field with max length is 34 and allowed value is Virtual account number. - For US ACH CCD/PPD/IAT payment, creditor.account is a mandatory field with max length is 34 and allowed value is Virtual account number. - For SEPA IDP creditor.account field is mandatory with max length 34 - For Japan Instant payment creditor.proxy_type field is mandatory and allowed max length is 7 - For SEPA, creditor.account field is mandatory with max length 34
- `virtual_account` (string, optional) — Creditor's virtual account (also kown as PAYER ID) - For TH Instant payment creditor.virtual_account field is optional - For US Instant payment creditor.virtual_account field is not applicable - For IN IMPS creditor.virtual_account field is not applicable - For UK FPS Instant payment creditor.virtual_account field is not applicable - For JP Instant payment creditor.virtual_account field is applicable - For IN UPI creditor.virtual_account field is not applicable - For US Wire, creditor.virtual_account is not applicable - For US ACH CCD/PPD/IAT payment, creditor.virtual_account is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `name` (string, optional) — Creditor's name - Thailand PromptPay - Maximum length is 50. - For US Instant payment creditor.name is manadtory - Maximum length is 140 - For IN IMPS creditor.name is mandatory - Maximum length is 50 - For UK FPS Instant payment creditor.name field is mandatory - Maximum length is 40 - For IN UPI creditor.name is mandatory - Maximum length is 99 - For-US Wire, creditor.name is a mandatory field with max length 35 - For US ACH CCD/PPD payment, creditor.name is a mandatory field with max length is 22 - For US ACH IAT payment, creditor.name is a mandatory field with max length is 35 - For SEPA IDP creditor.name is mandatory with max length 70 - For Japan Instant payment creditor.name field is mandatory - For SEPA, creditor.name is mandatory with max length 70
- `address_lines` (list of string, optional) — Creditor's address_lines - For TH Instant payment creditor.address_lines is not applicable - For US Instant payment creditor.address_lines is optional - For IN IMPS creditor.address_lines field is optional and allowed seven instance with each line max length of 70 - For UK FPS Instant payment creditor.address_lines field is optional and allowed only four instance with each line max length of 35 - For IN UPI creditor.address_lines field is optional and allowed seven instance with each line max length of 70 - For US Wire payment, creditor.address_lines field is conditional and upto 3 lines of min 1 and max 35 characters are allowed. Partial addresses will not be accepted, Street name, city and country should present in address_line. address_lines should present only if structured address tags (street name, building number, city, state and postal code) are not present - For US ACH CCD/PPD/IAT payment, creditor.address_lines is mandatory when structured address lines fields are not provided and allowed three instance with each line max length of 35, Address Line 1 should have Building info followed by asterik, Street Address ends with a single backslash Address Line 2 and then application to check Address Line2 should have City followed by asterik, State ends with a single backslash Address Line 3 should have Zip Code followed by asterik, Country Code ends with a single backslash For example Zip code*US\ - For SEPA IDP creditor.address_lines is optional - For Japan Instant payment creditor.address_lines field is not applicable - For SEPA, creditor.address_lines is optional and maxLength is 70
- `street_name` (string, optional) — Creditor's street_name - For TH Instant payment creditor.street_name is not applicable - For US Instant payment creditor.street_name is optional - For IN IMPS creditor.street_name is optional - For UK FPS Instant payment creditor.street_name field is not applicable - For IN UPI creditor.street_name is optional - For US Wire, creditor.street_name field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, creditor.street_name field is mandatory when creditor.address_lines field is not provided and allowed max length is 18 - For SEPA IDP, creditor.street_name is optional with max length 70 - For Japan Instant payment creditor.street_name field is not applicable - For SEPA, creditor.street_name is optional with max length 70
- `building_number` (string, optional) — Creditor's building_number - For TH Instant payment creditor.building_number is not applicable - For US Instant payment creditor.building_number field is optional - For IN IMPS creditor.building_number field is optional - For UK FPS Instant payment creditor.building_number field is not applicable - For IN UPI creditor.building_number field is optional - For US Wire payment, creditor.building_number field is conditional with max length 16. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, creditor.building_number field is mandatory when creditor.address_lines field is not provided and allowed max length is 16 - For SEPA IDP, creditor.building_number is optional with max length 16 - For Japan Instant payment creditor.building_number field is not applicable - For SEPA IDP, creditor.building_number is optional with max length 16 - For SEPA, creditor.building_number is optional with max length 16
- `postal_code` (string, optional) — Creditor's postal_code - For TH Instant payment creditor.postal_code is not applicable - For US Instant payment creditor.postal_code field is optional - For IN IMPS creditor.postal_code field is optional - For UK FPS Instant payment creditor.postal_code field is not applicable - For IN UPI creditor.postal_code field is optional - For US Wire, creditor.postal_code field is conditional with max length 16. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, creditor.postal_code field is mandatory when creditor.address_lines field is not provided and allowed max length is 16 - For SEPA IDP, creditor.postal_code is optional with max length 16 - For Japan Instant payment creditor.postal_code field is not applicable - For SEPA, creditor.postal_code is optional with max length 16
- `city` (string, optional) — Creditor's city - For TH Instant payment creditor.city is not applicable - For US Instant payment creditor.city field is optional - For IN IMPS creditor.city field is optional - For UK FPS Instant payment creditor.city field is not applicable - For IN UPI creditor.city field is optionaloptional - For US Wire, creditor.city field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, creditor.city field is mandatory when creditor.address_lines field is not provided and allowed max length is 32 - For SEPA IDP creditor.city field is optional - For Japan Instant payment creditor.city field is not applicable - For SEPA, creditor.city field is optional and maxLength is 35
- `state` (string, optional) — Creditor's state - For TH Instant payment creditor.state is not applicable - For US Instant payment creditor.state field is optional - For IN IMPS creditor.state field is optional - For UK FPS Instant payment creditor.state is not applicable - For IN UPI creditor.state field is optional - For US Wire, creditor.state field is conditional with max length 35. If using structured address, (Street name, city, State, Postal Code and country) tags are required. - For US ACH CCD/PPD/IAT payment, creditor.state field is mandatory when creditor.address_lines field is not provided and allowed max length is 2 - For SEPA IDP creditor.state field is optional with max length 35 - For Japan Instant payment creditor.state field is not applicable - For SEPA, creditor.state field is optional with max length 35
- `country` (string, optional) — Creditor's country - For TH Instant payment creditor.country is not applicable - For US Instant payment creditor.country field is optional - For IN IMPS creditor.country field is optional - For UK FPS Instant payment creditor.country field is mandatory, if creditor.address_line is provided by client - For IN UPI creditor.country field is optional - For US Wire, creditor.country field is mandatory with max length 2 - For US ACH CCD/PPD/IAT payment, creditor.country field is mandatory when creditor.address_lines field is not provided and allowed max length is 2 - For SEPA IDP creditor.country field is optional - For Japan Instant payment creditor.country field is not applicable - For SEPA, creditor.country field is optional
- `org_id` (string, optional) — Creditor's org\_id * For TH Instant payment creditor.org\_id is not applicable * For US Instant payment creditor.org\_id field is optional.Pattern should be followed \[A-Z0-9]\[0-9] where first 18 characters can be uppercase or numbers and the last two characters must be numeric * For IN IMPS creditor.org\_id is not applicable * For UK FPS Instant payment creditor.org\_id field is not applicable * For IN UPI creditor.org\_id is not applicable * For US Wire, creditor.org\_id is not applicable * For US ACH CCD/PPD/IAT payment, creditor.org\_id is not applicable * For SEPA IDP creditor.org\_id field is optional with max length 35 * For Japan Instant payment creditor.org\_id field is not applicable * For SEPA, creditor.org\_id field is optional with max length 35
- `prvt_id` (string, optional) — Creditor's prvt_id - For TH Instant payment creditor.prvt_id field is not applicable - For US Instant payment creditor.prvt_id field is optional with max length 35.Either org_id or prvt_id or none of them should be passed by client - For IN IMPS creditor.prvt_id field is not applicable - For UK FPS Instant payment creditor.prvt_id field is optional, Additional identification of Beneficiary Customer’s account with the receiving organisation. - For IN UPI creditor.prvt_id field is not applicable - For US Wire, creditor.prvt_id is not applicable - For US ACH CCD/PPD/IAT payment, creditor.prvt_id is not applicable - For SEPA IDP creditor.prvt_id field is optional with max length 35 - For Japan Instant payment creditor.prvt_id field is not applicable - For SEPA, creditor.prvt_id field is optional with max length 35
- `birth_date` (date, optional) — ISO 8601 (YYYY-MM-DD), Creditor's birth_date - For TH Instant payment creditor.birth_date is not applicable - For US Instant payment creditor.birth_date field is optional - For IN IMPS creditor.birth_date is not applicable - For UK FPS Instant payment creditor.birth_date field is optional - For IN UPI creditor.birth_date is not applicable - For US Wire, creditor.birth_date field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.birth_date is not applicable - For SEPA IDP creditor.birth_date field is optional - For Japan Instant payment creditor.birth_date field is not applicable - For SEPA, creditor.birth_date field is optional
- `birth_city` (string, optional) — Creditor's birth_city - For TH Instant payment creditor.birth_city is not applicable - For US Instant payment creditor.birth_city field is optional - For IN IMPS creditor.birth_city is not applicable - For UK FPS Instant payment creditor.birth_city is not applicable - For IN UPI creditor.birth_city is not applicable - For US Wire, creditor.birth_city field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.birth_city is not applicable - For SEPA IDP creditor.birth_city field is optional - For Japan Instant payment creditor.birth_city field is not applicable - For SEPA, creditor.birth_city field is optional
- `birth_country` (string, optional) — Creditor's birth_country - For TH Instant payment creditor.birth_country is not applicable - For US Instant payment creditor.birth_country field is optional - For IN IMPS creditor.birth_country is not applicable - For UK FPS Instant payment creditor.birth_country is not applicable - For IN UPI creditor.birth_country is not applicable - For US Wire, creditor.birth_country field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.birth_country is not applicable - For SEPA IDP creditor.birth_country field is optional - For Japan Instant payment creditor.birth_country field is not applicable - For SEPA, creditor.birth_country field is optional
- `bank_id` (string, optional) — Creditor bank's network identification (e.g., routing number in the United States) * For TH Instant payment creditor.bank\_id field is optional and allowed maxlength is 3 * For US Instant payment creditor.bank\_id field is mandatory * For IN IMPS Instant payment creditor.bank\_id field is mandatory and client should pass IFSC code (including branch code) * For UK FPS Instant payment creditor.bank\_id field is mandatory, if creditor.account field is pouplated with account number. For sort code mininum and maximum length is 6 Digits and for BIC Code allowed number of charcters are 8 or 11 * For IN UPI Instant payment creditor.bank\_id field is mandatory with max length 11, if creditor.proxy\_id is not provided by client * For US Wire, creditor.bank\_id field is optional. It is mandatory only for 2 credit party, either BIC or MmbId must be provided. If the input is BIC, min and max length should be 8 and 11 and should adhere to pattern \[A-Z]\[A-Z2-9][A-NP-Z0-9](\[A-Z0-9]\{3,3}). If the input is routing code, min and max length is 1 and 11. Note: 1. Target / Beneficiary bank SWIFT code. Applicable only for 2 credit party payments. If it is routing code, min and max length is 9 * For US ACH CCD/PPD payment, creditor.bank\_id is mandatory field with max length is 9 * For US ACH IAT payment, creditor.bank\_id is mandatory field with max length is 34 * For SEPA IDP creditor.bank\_id field is mandatory with max length 11 * For Japan Instant payment creditor.bank\_id field is mandatory and allowed max length is 7 * For SEPA, creditor.bank\_id field is mandatory with max length 11
- `bank_name` (string, optional) — Creditor's bank name - For Thailand PromptPay creditor.bank_name field is not applicable - For United States creditor.bank_name field is not applicble - For IN IMPS creditor.bank_name field is not applicable - For UK FPS Instant payment creditor.bank_name field is not applicable - For IN UPI creditor.bank_name field is not applicable - For US Wire, creditor.bank_name is optional field with max length 35 - For US ACH CCD/PPD/IAT payment, creditor.bank_name field is optional and allowed maxlength is 35 characters. - For SEPA IDP, this field is not applicable - For Japan Instant payment creditor.bank_name field is not applicable - For SEPA, this field is not applicable
- `bank_address_lines` (list of string, optional) — Creditor's bank address_lines - For Thailand PromptPay creditor.bank_address_lines field is not applicable - For United States creditor.bank_address_lines field is not applicble - For IN IMPS creditor.bank_address_lines field is not applicable - For UK FPS Instant payment creditor.bank_address_lines field is not applicable - For IN UPI creditor.bank_address_lines field is not applicable - For US Wire payment, creditor.bank_address_lines field is optional and upto 3 lines of min 1 and max 35 characters are allowed. - For US ACH CCD/PPD/IAT payment, creditor.bank_address_lines is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment creditor.bank_address_lines field is not applicable - For SEPA, this field is not applicable
- `account_type` (string, optional) — Creditor Account Type - For TH Instant payment creditor.account_type field is not applicable - For US Instant payment creditor.account_type field is not applicable - For IN IMPS creditor.account_type field is not applicable - For UK FPS Instant payment creditor.account_type field is not applicable - For IN UPI creditor.account_type field is mandatory and possible values are 01 for Current,02 for Savings,04 for Cash Credit - For US Wire, creditor.account_type is an optional field and possible values are CACC for Current and SVGS for Savings - For US ACH CCD/PPD/IAT payment, creditor.account_type field is mandatory and possible values are CACC for Current and SVGS for Savings - For SEPA IDP, this field is not applicable - For JP Instant payment creditor.account_type field is not applicable - For SEPA, this field is not applicable
- `redirect_account` (string, optional) — Redirected Beneficiary Account Number - For TH creditor.redirect_account field is not applicable - For US creditor.redirect_account field is not applicable - For IN IMPS creditor.redirect_account field is not applicable - For UK creditor.redirect_account field is optional and max Field length is 34 - For JP Instant payment creditor.redirect_account field is not applicable - For IN UPI creditor.redirect_account field is not applicable - For US Wire, creditor.redirect_account field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.redirect_account is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `redirect_bank_id` (string, optional) — Redirected Beneficiary Sort Code - For TH creditor.redirect_bank_id field is not applicable - For US creditor.redirect_bank_id field is not applicable - For IN IMPS creditor.redirect_bank_id field is not applicable - For UK creditor.redirect_bank_id field is optional and max Field length is 6 - For UK FPS Instant payment creditor.redirect_bank_id field is not applicable - For IN UPI creditor.redirect_bank_id field is not applicable - For US Wire, creditor.redirect_bank_id field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.redirect_bank_id is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment creditor.redirect_bank_id field is not applicable - For SEPA, this field is not applicable
- `account_name` (string, optional) — Creditor account name - For Thailand PromptPay creditor.account_name field is not applicable - For United States creditor.account_name field is optional - For IN IMPS creditor.account_name field is not applicable - For UK FPS Instant payment creditor.account_name field is not applicable - For IN UPI creditor.account_name field is not applicable - For US Wire, creditor.account_name is an optional field with max length 35.Provide only if it is different than Beneficiary name - For US ACH CCD/PPD/IAT payment, creditor.account_name is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment creditor.account_name field is not applicable - For SEPA, this field is not applicable
- `bank_instructions` (string, optional) — Instructions for creditor agent - For Thailand PromptPay creditor.bank_instructions field is not applicable - For United States creditor.bank_instructions field is not applicble - For IN IMPS creditor.bank_instructions field is not applicable - For UK FPS Instant payment creditor.bank_instructions field is not applicable - For IN UPI creditor.bank_instructions field is not applicable - For US Wire, creditor.bank_instructions is an optional field with min 1 and max 36. if It is code, the max length is 4. codes: CHQB - PayCreditorByCheque, HOLD - HoldCashForCreditor, PHOB- PhoneBeneficiary, TELB- Telecom - For US ACH CCD/PPD/IAT payment, creditor.bank_instructions field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment creditor.bank_instructions field is not applicable - For SEPA, this field is not applicable
- `department` (string, optional) — creditor Address Department - For TH Instant payment creditor.department is not applicable - For US Instant payment creditor.department is not applicable - For IN IMPS creditor.department is not applicable - For UK FPS Instant payment creditor.department is not applicable - For IN UPI creditor.department is not applicable - For US Wire, creditor.department is not applicable - For US ACH CCD/PPD payment, creditor.department is not applicable - For US ACH IAT payment, creditor.department is not applicable - For US ACH IAT payment, creditor.department is not applicable - For SEPA IDP, creditor.department is optional with max length 70 - For Japan Instant payment creditor.department field is not applicable - For SEPA, creditor.department is optional with max length 70
- `sub_department` (string, optional) — creditor Address Sub-Department - For TH Instant payment creditor.sub_department is not applicable - For US Instant payment creditor.sub_department is not applicable - For IN IMPS creditor.sub_department is not applicable - For UK FPS Instant payment creditor.sub_department is not applicable - For IN UPI creditor.sub_department is not applicable - For US Wire, creditor.sub_department is not applicable - For US ACH CCD/PPD payment, creditor.sub_department is not applicable - For US ACH IAT payment, creditor.sub_department is not applicable - For US ACH IAT payment, creditor.sub_department is not applicable - For SEPA IDP, creditor.sub_department is optional with max length 70 - For Japan Instant payment creditor.sub_department field is not applicable - For SEPA, creditor.sub_department is optional with max length 70
- `building_name` (string, optional) — creditor building name - For TH Instant payment creditor.building_name is not applicable - For US Instant payment creditor.building_name is not applicable - For IN IMPS creditor.building_name is not applicable - For UK FPS Instant payment creditor.building_name is not applicable - For IN UPI creditor.building_name is not applicable - For US Wire, creditor.building_name is not applicable - For US ACH CCD/PPD payment, creditor.building_name is not applicable - For US ACH IAT payment, creditor.building_name is not applicable - For US ACH IAT payment, creditor.building_name is not applicable - For SEPA IDP, creditor.building_name is optional with max length 35 - For Japan Instant payment creditor.building_name field is not applicable - For SEPA, creditor.building_name is optional with max length 35
- `floor` (string, optional) — creditor address floor - For TH Instant payment creditor.floor is not applicable - For US Instant payment creditor.floor is not applicable - For IN IMPS creditor.floor is not applicable - For UK FPS Instant payment creditor.floor is not applicable - For IN UPI creditor.floor is not applicable - For US Wire, creditor.floor is not applicable - For US ACH CCD/PPD payment, creditor.floor is not applicable - For US ACH IAT payment, creditor.floor is not applicable - For US ACH IAT payment, creditor.floor is not applicable - For SEPA IDP, creditor.floor is optional with max length 70 - For Japan Instant payment creditor.floor field is not applicable - For SEPA, creditor.floor is optional with max length 70
- `post_box` (string, optional) — creditor address post box - For TH Instant payment creditor.post_box is not applicable - For US Instant payment creditor.post_box is not applicable - For IN IMPS creditor.post_box is not applicable - For UK FPS Instant payment creditor.post_box is not applicable - For IN UPI creditor.post_box is not applicable - For US Wire, creditor.post_box is not applicable - For US ACH CCD/PPD payment, creditor.post_box is not applicable - For US ACH IAT payment, creditor.post_box is not applicable - For US ACH IAT payment, creditor.post_box is not applicable - For SEPA IDP, creditor.post_box is optional with max length 16 - For Japan Instant payment creditor.post_box field is not applicable - For SEPA, creditor.post_box is optional with max length 16
- `room` (string, optional) — creditor address room - For TH Instant payment creditor.room is not applicable - For US Instant payment creditor.room is not applicable - For IN IMPS creditor.room is not applicable - For UK FPS Instant payment creditor.room is not applicable - For IN UPI creditor.room is not applicable - For US Wire, creditor.room is not applicable - For US ACH CCD/PPD payment, creditor.room is not applicable - For US ACH IAT payment, creditor.room is not applicable - For US ACH IAT payment, creditor.room is not applicable - For SEPA IDP, creditor.room is optional with max length 70 - For Japan Instant payment creditor.room field is not applicable - For SEPA, creditor.room is optional with max length 70
- `town_location_name` (string, optional) — creditor address town location name - For TH Instant payment creditor.town_location_name is not applicable - For US Instant payment creditor.town_location_name is not applicable - For IN IMPS creditor.town_location_name is not applicable - For UK FPS Instant payment creditor.town_location_name is not applicable - For IN UPI creditor.town_location_name is not applicable - For US Wire, creditor.town_location_name is not applicable - For US ACH CCD/PPD payment, creditor.town_location_name is not applicable - For US ACH IAT payment, creditor.town_location_name is not applicable - For US ACH IAT payment, creditor.town_location_name is not applicable - For SEPA IDP, creditor.town_location_name is optional with max length 35 - For Japan Instant payment creditor.town_location_name field is not applicable - For SEPA, creditor.town_location_name is optional with max length 35
- `district_name` (string, optional) — creditor address district_name - For TH Instant payment creditor.district_name is not applicable - For US Instant payment creditor.district_name is not applicable - For IN IMPS creditor.district_name is not applicable - For UK FPS Instant payment creditor.district_name is not applicable - For IN UPI creditor.district_name is not applicable - For US Wire, creditor.district_name is not applicable - For US ACH CCD/PPD payment, creditor.district_name is not applicable - For US ACH IAT payment, creditor.district_name is not applicable - For US ACH IAT payment, creditor.district_name is not applicable - For SEPA IDP, creditor.district_name is optional with max length 35 - For Japan Instant payment creditor.district_name field is not applicable - For SEPA, creditor.district_name is optional with max length 35
- `anybic` (string, optional) — creditor BIC - For TH Instant payment creditor.anybic is not applicable - For US Instant payment creditor.anybic is not applicable - For IN IMPS creditor.anybic is not applicable - For UK FPS Instant payment creditor.anybic is not applicable - For IN UPI creditor.anybic is not applicable - For US Wire, creditor.anybic is not applicable - For US ACH CCD/PPD payment, creditor.anybic is not applicable - For US ACH IAT payment, creditor.anybic is not applicable - For US ACH IAT payment, creditor.anybic is not applicable - For SEPA IDP, creditor.anybic is optional with max length 11 - For Japan Instant payment creditor.anybic field is not applicable - For SEPA, creditor.anybic is optional with max length 11
- `lei` (string, optional) — Unique global identifier for legal entities participating in financial transactions - For TH Instant payment creditor.lei is not applicable - For US Instant payment creditor.lei is not applicable - For IN IMPS creditor.lei is not applicable - For UK FPS Instant payment creditor.lei is not applicable - For IN UPI creditor.lei is not applicable - For US Wire, creditor.lei is not applicable - For US ACH CCD/PPD payment, creditor.lei is not applicable - For US ACH IAT payment, creditor.lei is not applicable - For US ACH IAT payment, creditor.lei is not applicable - For SEPA IDP, creditor.lei is optional with max length 20 - For Japan Instant payment creditor.lei field is not applicable - For SEPA, creditor.lei is optional with max length 20
- `issuer` (string, optional) — creditor name that identifies an issuer - For TH Instant payment creditor.issuer is not applicable - For US Instant payment creditor.issuer is not applicable - For IN IMPS creditor.issuer is not applicable - For UK FPS Instant payment creditor.issuer is not applicable - For IN UPI creditor.issuer is not applicable - For US Wire, creditor.issuer is not applicable - For US ACH CCD/PPD payment, creditor.issuer is not applicable - For US ACH IAT payment, creditor.issuer is not applicable - For US ACH IAT payment, creditor.issuer is not applicable - For SEPA IDP, creditor.issuer is optional with max length 35 - For Japan Instant payment creditor.issuer field is not applicable - For SEPA, creditor.issuer is optional with max length 35
- `birth_province` (string, optional) — Creditor Province Of Birth - For TH Instant payment creditor.birth_province is not applicable - For US Instant payment creditor.birth_province is not applicable - For IN IMPS creditor.birth_province is not applicable - For UK FPS Instant payment creditor.birth_province is not applicable - For IN UPI creditor.birth_province is not applicable - For US Wire, creditor.birth_province is not applicable - For US ACH CCD/PPD payment, creditor.birth_province is not applicable - For US ACH IAT payment, creditor.birth_province is not applicable - For US ACH IAT payment, creditor.birth_province is not applicable - For SEPA IDP, creditor.birth_province is optional with max length 35 - For Japan Instant payment creditor.birth_province field is not applicable - For SEPA, creditor.birth_province is optional with max length 35
- `bank_branch_id` (string, optional) — Creditor bank's branch network identification - For TH Instant payment creditor.bank_branch_id field is applicable - For US Instant payment creditor.bank_branch_id field is not applicable - For UK Instant payment creditor.bank_branch_id field is not applicable - For JP Instant payment creditor.bank_branch_id is not applicable - For IN IMPS Instant payment creditor.bank_branch_id field is not applicable - For IN UPI Instant payment creditor.bank_branch_id field is not applicable - For US Wire, creditor.bank_branch_id is not applicable - For Stripe_US ACH CCD/PPD/IAT payment, creditor.bank_branch_id is not applicable - For SEPA IDP, this field is not applicable - For SEPA, this field is not applicable
- `name_conversion_flag` (enum, optional) — Creditor's name conversion flag - For TH Instant payment creditor.name_conversion_flag field is not applicable - For US Instant payment creditor.name_conversion_flag field is not applicable - For IN IMPS creditor.name_conversion_flag field is not applicable - For UK FPS Instant payment creditor.name_conversion_flag field is not applicable - For IN UPI creditor.name_conversion_flag field is not applicable - For US Wire, creditor.name_conversion_flag field is not applicable - For US ACH CCD/PPD/IAT payment, creditor.name_conversion_flag is not applicable - For Japan Instant payment creditor.name_conversion_flag field is optional - For SEPA, creditor.name_conversion_flag field is not applicable
  - Allowed values: `Y`, `N`
- `advice_mobile` (string, optional) — Creditor's mobile number - For TH,US,UK FPS, IN UPI, Stripe US Wire, US ACH CCD/PPD/IAT, Japan, SEPA Instant payment creditor.advice_mobile field is not applicable - For India FIR IMPS payment creditor.advice_email field is optional
- `advice_email` (string, optional) — Creditor's email address - For TH,US,UK FPS,IN UPI ,US Wire,US ACH CCD/PPD/IAT payment, Japan, SEPA, this field is not applicable - For India FIR IMPS payment creditor.advice_email field is optional
- `resolved_name` (string, optional) — Creditor name sent in beneficiary validation response. - For SEPA VoP this field is optional
- `scheme_name` (string, optional) — Creditor's scheme name

### Method-Status

- `country` (enum, required) — ISO 3166 Alpha-2 code for the transaction country
  - Allowed values: `TH`, `US`, `IN`, `GB`, `JP`, `IE`, `DE`, `AT`, `BE`, `FI`, `FR`, `GR`, `IT`, `LU`, `NL`, `PT`, `ES`, `SK`, `AU`, `BG`, `MX`
- `instructed_currency` (enum, required) — ISO 4217 code for the transaction instructed amount currency
  - Allowed values: `THB`, `USD`, `INR`, `GBP`, `JPY`, `EUR`, `AUD`, `MXN`
- `method` (enum, required) — Method specified by the debtor for the transaction - Provide IP for instant payment - For India provide either IMPS or UPI - Provide WIRE for US Wire
  - Allowed values: `IP`, `IMPS`, `UPI`, `WIRE`, `ACH`, `NEFT`, `BKT`
- `type` (enum, required) — Transaction message type (e.g., CT for credit transfer. RF for Refund) - BK_CT - Book to Book Credit Transfer - BK_RF - Book to Book Return Payment
  - Allowed values: `CT`, `RF`, `BK_CT`, `BK_RF`
- `network` (enum, optional) — Financial market infrastructure or clearing system (e.g., RTP Network in the United States)
  - Allowed values: `PromptPay`, `RTP`, `FPS`, `IMPS`, `UPI`, `ZENGIN`, `RT1`, `TIPS`, `FDN`, `INNEFT`, `NPP`

### Transaction-Status

- `end_to_end_id` (string, required) — Specifies a character string with a maximum length of 35 characters limited to character set X, that is, a-z A-Z / - ? : ( ) . , ‘ + . - If client_id + end_to_end_id combination is duplicate within 90 days, payment will be rejected - Thailand Max length 12 - United State Max length 35 - IN IMPS Max length 16 - UK FPS Max length is 18 - Brazil Max length is 35 - IN UPI Max length 16 - For US WIRE/ACH, Max length is 16 and allowed value is AlphaNumeric (A-Z and 0-9) - For SEPA and SEPA IDP Max length is 35 - Japan Max length 35. It allows only upper alphabet characters A-Z and accepts special characters as follows . , () -
- `uetr` (string, required) — UUID v4 format unique end-to-end transaction reference
- `creation_date_time` (datetime, required) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Instant Payment (Debit) - Date time, generated by CitiConnect API, when CitiConnect API accepted a payment initiation after validation - Instant Payment (Credit) - Date time, either provided by the debtor bank or generated by Citi's transaction processing application, when a transaction was created
- `status` (Status, required)
- `instruction_id` (string, optional) — Instruction ID of the payment - For Thailand PromptPay transaction.instruction_id field is not applicable - For United States transaction.instruction_id field is optional - For IN IMPS transaction.instruction_id field is not applicable - For UK FPS Instant payment transaction.instruction_id field is not applicable - For JP Instant payment transaction.instruction_id field is applicable - For IN UPI transaction.instruction_id field is not applicable - For US Wire, this field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.instruction_id field is not applicable - For SEPA IDP transaction.instruction_id field is optional with max length 35 - For Japan Instant payment transaction.instruction_id field is not applicable - For SEPA, transaction.instruction_id field is optional with max length 35
- `network_id` (string, optional) — Transaction identification generated by the network (clearing) - For SEPA IDP, transaction id will be passed in transaction.network_id field - For SEPA, transaction id will be passed in transaction.network_id field
- `local_reference` (string, optional) — This is a Citi generated payment reference which is included in the ‘Bank Reference’ field of bank statement posting for itemized transaction. - To utilize the field in production, please contact with implementation manager - For TH Instant payment transaction.local_reference is optional - For US Instant payment transaction.local_reference field is not applicable - For IN IMPS transaction.local_reference is optional - For UK FPS Instant payment transaction.local_reference is not applicable - For JP Instant payment transaction.local_reference field is applicable - For IN UPI transaction.local_reference is optional - For US WIRE, transaction.local_reference field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.local_reference field is not applicable - For SEPA IDP transaction.local_reference field is not applicable - For SEPA, transaction.local_reference field is not applicable
- `reference` (string, optional) — Electronic Data Interchange It works like a referece for clients to look for additional information in EDI system for Invoice & purchase data. - For TH Instant payment transaction.reference is not applicable - For US Instant payment transaction.reference field is not applicable - For IN IMPS transaction.reference is not applicable - For UK FPS Instant payment transaction.reference is not applicable - For JP Instant payment transaction.reference is optional - For IN UPI transaction.reference is not applicable - For US WIRE, transaction.reference field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.reference field is not applicable - For SEPA IDP transaction.reference field is not applicable - For SEPA, transaction.reference field is not applicable
- `processing_code` (string, optional) — - For Thailand this field contains the reference of, Two Digit Process Code + Two Digit From Account + Two Digit To Account Processing Code - Lookup and Account Verification 38 Credit Transfer(TO_ACCOUNT/EWALLET) 48 Bill Payment 55 Generic Inquiry 32 Request To Pay 33 Credit Notification 34 A two digit from account (00 for Default, 10 for Saving, 20 for Checking, 30 for Credit) A two digit to account (00 for Default, 10 for Saving, 20 for Checking, 30 for Credit). To utilize the field in production, please contact with implementation manager - For US Instant payment transaction.processing_code field is not applicable - For IN IMPS transaction.processing_code is not applicable - For UK FPS Instant payment transaction.processing_code is not applicable - For JP Instant payment transaction.processing_code is not applicable - For IN UPI transaction.processing_code is not applicable - For US WIRE, transaction.processing_code field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.processing_code field is not applicable - For SEPA IDP transaction.processing_code field is not applicable - For SEPA, transaction.processing_code field is not applicable
- `batch_id` (string, optional) — Identification for your Citi account consolidated debit or credit posting including the transaction
- `bill_id_1` (string, optional) — Bill identification - Thailand PromptPay - Maximum length is 20. - For US Instant payment transaction.bill_id_1 field is not applicable - For IN IMPS transaction.bill_id_1 field is not applicable - For UK FPS Instant payment transaction.bill_id_1 field is not applicable - For IN UPI transaction.bill_id_1 field is not applicable - For US Wire, transaction.bill_id_1 field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.bill_id_1 field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.bill_id_1 field is not applicable - For SEPA, this field is not applicable
- `bill_id_2` (string, optional) — Bill identification - Thailand PromptPay - Maximum length is 20. - For US Instant payment transaction.bill_id_2 field is not applicable - For IN IMPS transaction.bill_id_2 field is not applicable - For UK FPS Instant payment transaction.bill_id_2 field is not applicable - For IN UPI transaction.bill_id_2 field is not applicable - For US Wire, transaction.bill_id_2 field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.bill_id_2 field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.bill_id_2 field is not applicable - For SEPA, this field is not applicable
- `bill_id_3` (string, optional) — Bill identification - Thailand PromptPay - Maximum length is 20. - For US Instant payment transaction.bill_id_3 field is not applicable - For IN IMPS transaction.bill_id_3 field is not applicable - For UK FPS Instant payment transaction.bill_id_3 field is not applicable - For IN UPI transaction.bill_id_3 field is not applicable - For US Wire, transaction.bill_id_3 field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.bill_id_3 field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.bill_id_3 field is not applicable - For SEPA, this field is not applicable
- `type` (enum, optional)
  - Allowed values: `credit`, `debit`
- `purpose` (string, optional) — Purpose of a transaction - For Thailand PromptPay transaction.purpose field is optional - For US Instant payment transaction.purpose field is optional - For IN IMPS transaction.purpose field is optional - UK FPS Instant payment transaction.purpose field is optional - For IN UPI transaction.purpose field is optional - For India FIR IMPS Instant payment transaction.purpose field is mandatory - CASH for cash management - CNFL for confidential - COST for payment for business expenses - GDSV for payment related to purchase or sale of goods and services - GP2P for person-to-person payment - OTHR for other, if your payment doesn't fit any of the specific purpose codes - RCPT for payment of a receipt - SALA for salary payment - SUPP for supplier payment - TREA for treasury payment - REFU for refund payment - CLPO for Claim Payouts - LODI for Loan Disbursals - TIPO for Tips Payout - GIEO for Gig economy - VEPO for Vendor Payouts - INPO for Incentive Payouts - ISPO for Insurance Payouts - MPPO for Merchant/Marketplace Payouts - TXPO for Tax Payments - RDPO for Rider payout - GDDS for payment related to purchase or sale of goods - SCVE for payment related to purchase or sale of services - PAYR for payroll payment - NOWS for Not Otherwise Specified - INVS for Invoice Signed - INSC for Payment Of Insurance Claim - INSM for Installment - PDEP for Property Deposit - UBIL for Utilities Subscription Identification - ACCT for Account Management - CBLK for Bulk card transactions - MP2P for Mobile P2P Payment - For US Wire, transaction.purpose field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.purpose field is not applicable - For SEPA IDP this field is optional - For Japan Instant payment transaction.purpose field is not applicable - For SEPA, this field is optional
- `tax_code` (enum, optional) — Tax code - Thailand PromptPay - Provide 0 if transaction is without value-added tax or withholding tax. Provide 1 if transaction is with value-added tax or withholding tax. - For US Instant payment transaction.tax_code field is not applicable - For IN IMPS transaction.tax_code field is not applicable - For UK FPS Instant payment transaction.tax_code field is not applicable - For IN UPI transaction.tax_code field is not applicable - For US Wire, transaction.tax_code field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.tax_code field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.tax_code field is not applicable - For SEPA, this field is not applicable
  - Allowed values: `0`, `1`
- `wht_code` (enum, optional) — Withholding tax (WHT) code - Thailand PromptPay - If you provide tax_code 1, wht_code is required. Povide A for WHT always paid by the seller, S for WHT once paid by the seller or B for WHT paid by the buyer. - For US Instant payment transaction.wht_code field is not applicable - For IN IMPS transaction.wht_code field is not applicable - For UK FPS Instant payment transaction.wht_code field is not applicable - For IN UPI transaction.wht_code field is not applicable - For US Wire, transaction.wht_code field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.wht_code field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.wht_code field is not applicable - For SEPA, this field is not applicable
  - Allowed values: `A`, `S`, `B`
- `income_type` (string, optional) — Income type - Thailand PromptPay - If you provide tax_code 1, income_type is required. Provide 001 for service and professional fee for a company with Thailand location, 002 for service and professional fee for a company without Thailand location, 003 for royalty, 004 for rent, 005 for ship rental fee, 006 for prize, 007 for promotion, 008 for actor fee, 009 advertising, 010 non-life insurance premium, 011 for transportation cost and 012 for agricultural purchase. - For US Instant payment transaction.income_type field is not applicable - For IN IMPS transaction.income_type field is not applicable - For UK FPS Instant payment transaction.income_type field is not applicable - For IN UPI transaction.income_type field is not applicable - For US Wire, transaction.income_type field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.income_type field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.income_type field is not applicable - For SEPA, this field is not applicable
- `vat_rate` (double, optional) — Value-added tax (VAT) rate - For TH Instant Payent Range is 0 - 99.99 - For US Instant payment transaction.vat_rate field is not applicable - For IN IMPS transaction.vat_rate field is not applicable - For UK FPS Instant payment transaction.vat_rate field is not applicable - For IN UPI transaction.vat_rate field is not applicable - For US Wire, transaction.vat_rate field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.vat_rate field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.vat_rate field is not applicable - For SEPA, this field is not applicable
- `vat_amount` (double, optional) — Value-added tax (VAT) amount - Thailand PromptPay - Maximum amount is 2000000.00. - For US Instant payment transaction.vat_amount field is not applicable - For IN IMPS transaction.vat_amount field is not applicable - For UK FPS Instant payment transaction.vat_amount field is not applicable - For IN UPI transaction.vat_amount field is not applicable - For US Wire, transaction.vat_amount field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.vat_amount field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.vat_amount field is not applicable - For SEPA, this field is not applicable
- `wht_rate` (double, optional) — Withholding tax (WHT) rate (0 - 99.99) - Thailand PromptPay - Maximum rate is 5.00. - For US Instant payment transaction.wht_rate field is not applicable - For IN IMPS transaction.wht_rate field is not applicable - For UK FPS Instant payment transaction.wht_rate field is not applicable - For IN UPI transaction.wht_rate field is not applicable - For US Wire, transaction.wht_rate field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.wht_rate field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.wht_rate field is not applicable - For SEPA, this field is not applicable
- `wht_amount` (double, optional) — Withholding tax (WHT) amount - Thailand PromptPay - Maximum amount is 2000000.00. - For US Instant payment transaction.wht_amount field is not applicable - For IN IMPS transaction.wht_amount field is not applicable - For UK FPS Instant payment transaction.wht_amount field is not applicable - For IN UPI transaction.wht_amount field is not applicable - For US Wire, transaction.wht_amount field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.wht_amount field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.wht_amount field is not applicable - For SEPA, this field is not applicable
- `bill_due_date` (date, optional) — ISO 8601 (YYYY-MM-DD) bill due date - For TH Instant payment if client provides transaction.bill_id_1 value, require client to mandatorily provide bill_due_date value. - For US Instant payment transaction.bill_due_date field is not applicable - For IN IMPS transaction.bill_due_date field is not applicable - For UK FPS Instant payment transaction.bill_due_date field is not applicable - For IN UPI transaction.bill_due_date field is not applicable - For US Wire, transaction.bill_due_date field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.bill_due_date field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.bill_due_date field is not applicable - For SEPA, this field is not applicable
- `value_date` (date, optional) — YYYY-MM-DD Date in local time zone (e.g., EST for a United States RTP network transaction IST for IN IMPS) when Citi's transaction processing application starts processing a transaction - For UK Instant payment transaction.value_date field is mandatory, value Date should be current calender date or current calender date +1 or current calender date -1 - For US Wire, transaction.value_date is a mandatory field - For US ACH CCD/PPD/IAT payment, transaction.value_date field is mandatory - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.value_date field is mandatory, value date should be current calender date or current calender date -7 - For SEPA, value date should be current calender date or future calender date till 180 days or current calender date -7
- `instructed_amount` (double, optional) — Instructed amount - Thailand PromptPay - Maximum amount is 2000000.00 - US RTP - Maximum amount is 1000000.00 - IN IMPS - Maximum amount is 500000.00 - UK FPS Instant Payment - Maximum amount is 1000000.00 and allowed only Maximum of Two digits after decimal - IN UPI - Maximum amount is 200000.00 - For US Wire, transaction.instructed_amount is a mandatory field. Maximum amount is $9999999999.99 - Japan - Maximum amount is 99,999,999 - SEPA - No maximum amount cap
- `settlement_currency` (string, optional) — ISO 4217 code for the transaction settlement amount currency
- `settlement_amount` (double, optional) — Settlement amount (e.g., after any currency exchange or charge on the instructed amount)
- `total_refunded_amount` (double, optional) — Total refunded amount for original transaction. This field will be populated only for refund transactions.
- `additional_info` (string, optional) — Additional or remittance information - Thailand PromptPay - Maximum length is 40. - For US Instant payment transaction.additional_info field is not applicable - For IN IMPS transaction.additional_info field is not applicable - For UK FPS Instant payment transaction.additional_info field is optional and allowed max length is 105 - For IN UPI transaction.additional_info field is not applicable - For US Wire, transaction.additional_info field is not applicable - For US ACH CCD/PPD payments, transaction.additional_info field is optional. If the client want to verify the beneficiary/Creditor account then value should be /MICE/ACCTVERIFY and transaction amount can not exceed $0.99 - For US ACH IAT payment, transaction.additional_info field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.additional_info field is not applicable - For SEPA, this field is not applicable
- `unstructured_remittance_info` (list of string, optional) — Unstructured remitance information - For TH Instant payment transaction.unstructured_remittance_info field is not applicable - For US Instant payment transaction.unstructured_remittance_info field is optional - Maximum length is 140 and Single instance is allowed - For IN IMPS transaction.unstructured_remittance_info field is optional where two lines at max allowed. 1st line to have max 35 chars, 2nd line to have a max of 15 chars. Max length for this tag is 50 chars - For UK FPS Instant payment transaction.unstructured_remittance_info is optional and allowed only four instance with each line max length of 35 - For IN UPI transaction.unstructured_remittance_info field is optional where two lines at max allowed. 1st line to have max 35 chars, 2nd line to have a max of 15 chars. Max length for this tag is 50 chars /n - For US Wire, transaction.unstructured_remittance_info is an optional field, Upto 4*35 Char can be provided . Payment Detail lines should not exceed 35 characters per line - For US ACH CCD/PPD/IAT payment, transaction.unstructured_remittance_info field is optional where two lines at max allowed. 1st line to have max 70 chars, 2nd line to have a max of 10 chars. - For SEPA and SEPA IDP transaction.unstructured_remittance_info field is optional with max length 140 and ten instances allowed - For Japan Instant payment transaction.unstructured_remittance_info field is applicable and Maximum length is 140 and four instance is allowed - For SEPA VoP Opt Out case, package id should be passed in this field starting with 'PID ,for instance 'PID6782512314'
- `advice_type` (enum, optional) — Beneficiary advice type - EMAL - EMail, FAXI - Fax, SMSM - SMS Phone Number, URID - UniformResourceIdentifier - For TH Instant payment transaction.advice_type field is not applicable - For US Instant payment transaction.advice_type field is not applicable - For IN IMPS transaction.advice_type field is optional with max length 4 - For UK FPS Instant payment transaction.advice_type field is not applicable - For IN UPI transaction.advice_type field is optional, applicable values are SMSM or EMAL - For US Wire, transaction.advice_type field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.advice_type field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.advice_type field is not applicable - For SEPA, this field is not applicable
  - Allowed values: `EMAL`, `FAXI`, `SMSM`, `URID`
- `advice_address` (string, optional) — Used by ISOXML Format for Internet Address - For TH Instant payment transaction.advice_address field is not applicable - For US Instant payment transaction.advice_address field is not applicable - For IN IMPS transaction.advice_address field is optional - For UK FPS Instant payment transaction.advice_address field is not applicable - For IN UPI transaction.advice_address field is mandatory, if transaction.advice_type is EMAL - For US Wire, transaction.advice_address field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.advice_address field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.advice_address field is not applicable - For SEPA, this field is not applicable
- `category` (enum, optional) — Specifies the high level purpose of the instruction - For Thailand PromptPay transaction.category field is not applicable - For United States transaction.category field is optional - For IN IMPS transaction.category field is not applicable - For UK FPS Instant payment transaction.category field is not applicable - For IN UPI transaction.category field is not applicable - For US Wire, transaction.category field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.category field is mandatory and allowed value is CCD, PPD and IAT - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.category field is not applicable - For India FIR IMPS payment transaction.category field is applicable and allowed value is FIR and FDL - For SEPA, this field is not applicable
  - Allowed values: `CONSUMER`, `BUSINESS`, `CCD`, `PPD`, `IAT`, `FIR`, `CONS`, `BIZZ`, `GOVT`, `FDL`, `DEFAULT`
- `priority` (enum, optional) — Indicator of the urgency of the payment to instructed party. - For Thailand PromptPay transaction.priority field is not applicable - For United States transaction.priority field is not applicble - For IN IMPS transaction.priority field is not applicable - For UK FPS Instant payment transaction.priority field is not applicable - For IN UPI transaction.priority field is not applicable - For US Wire, transaction.priority is an optional field - For US ACH CCD/PPD/IAT payment, transaction.priority field is not applicable - For SEPA IDP this field is not applicable - For Japan Instant payment transaction.category field is not applicable - For SEPA, this field is not applicable
  - Allowed values: `HIGH`, `NORM`
- `charges_paid_by` (string, optional) — Indicator of the charges of the payment. - For Thailand PromptPay transaction.charges_paid_by field is not applicable - For United States transaction.charges_paid_by field is not applicble - For IN IMPS transaction.charges_paid_by field is not applicable - For UK FPS Instant payment transaction.charges_paid_by field is not applicable - For US Wire, transaction.charges_paid_by is an optional field with allowed values CRED,DEBT,SHAR - For US ACH CCD/PPD/IAT payment, transaction.charges_paid_by field is not applicable - For SEPA IDP,transaction.charges_paid_by is optional with max length 4 - For Japan Instant payment transaction.charges_paid_by field is not applicable - For SEPA, transaction.charges_paid_by is optional with max length 4 and allowed value is 'SLEV'
- `original_amount` (double, optional) — Amount that was originally sent by our client. - For Thailand PromptPay transaction.original_amount field is not applicable - For United States transaction.original_amount field is optional - For IN IMPS transaction.original_amount field is not applicable - For UK FPS Instant payment transaction.original_amount field is not applicable - For JP Instant payment transaction.original_amount field is not applicable - For IN UPI transaction.original_amount field is not applicable - For US WIRE, transaction.original_amount field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.original_amount field is not applicable - For SEPA IDP this field is not applicable - For SEPA, this field is not applicable
- `full_amount` (double, optional) — Amount that is the gross amount payable to our client. If populated, transaction.discount_amount must also be populated - For Thailand PromptPay transaction.full_amount field is not applicable - For United States transaction.full_amount field is optional - For IN IMPS transaction.full_amount field is not applicable - For UK FPS Instant payment transaction.full_amount field is not applicable - For JP Instant payment transaction.full_amount field is not applicable - For IN UPI transaction.full_amount field is not applicable - For US WIRE, transaction.full_amount field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.full_amount field is not applicable - For SEPA IDP this field is not applicable - For SEPA, this field is not applicable
- `discount_amount` (double, optional) — Amount that is the discount from the gross amount. If populated, transaction.full_amount must also be popluated - For Thailand PromptPay transaction.discount_amount field is not applicable - For United States transaction.discount_amount field is optional - For IN IMPS transaction.discount_amount field is not applicable - For UK FPS Instant payment transaction.discount_amount field is not applicable - For JP Instant payment transaction.discount_amount field is not applicable - For IN UPI transaction.discount_amount field is not applicable - For US WIRE, transaction.discount_amount field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.discount_amount field is not applicable - For SEPA IDP this field is not applicable - For SEPA, this field is not applicable
- `interbank_settlement_date` (date, optional) — YYYY-MM-DD Date Interbank settlement Date received from clearing - For TH Instant payment transaction.interbank_settlement_date is not applicable - For US Instant payment transaction.interbank_settlement_date is optional - For IN IMPS transaction.interbank_settlement_date is not applicable - For UK FPS Instant payment transaction.interbank_settlement_date is not applicable - For IN UPI transaction.interbank_settlement_date is not applicable - For US Wire, transaction.interbank_settlement_date is not applicable - For US ACH CCD/PPD payment, transaction.interbank_settlement_date is not applicable - For US ACH IAT payment, transaction.interbank_settlement_date is not applicable - For US ACH IAT payment, transaction.interbank_settlement_date is not applicable - For SEPA IDP, transaction.interbank_settlement_date is mandatory - For Japan Instant payment transaction.interbank_settlement_date field is not applicable - For SEPA, transaction.interbank_settlement_date is mandatory
- `category_purpose` (string, optional) — Category purpose usually contain the purpose of payments - For TH Instant payment transaction.category_purpose is not applicable - For US Instant payment transaction.category_purpose is not applicable - For IN IMPS transaction.category_purpose is not applicable - For UK FPS Instant payment transaction.category_purpose is not applicable - For IN UPI transaction.category_purpose is not applicable - For US Wire, transaction.category_purpose is not applicable - For US ACH CCD/PPD payment, transaction.category_purpose is not applicable - For US ACH IAT payment, transaction.category_purpose is not applicable - For US ACH IAT payment, transaction.category_purpose is not applicable - For SEPA IDP, transaction.category_purpose is optional with max length 35 - For Japan Instant payment transaction.category_purpose field is not applicable - For SEPA, transaction.category_purpose is optional with max length 35
- `acceptance_date_time` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) Acceptance date time is the time inputted by ordering bank - For TH Instant payment transaction.acceptance_date_time is not applicable - For US Instant payment transaction.acceptance_date_time is not applicable - For IN IMPS transaction.acceptance_date_time is not applicable - For UK FPS Instant payment transaction.acceptance_date_time is not applicable - For IN UPI transaction.acceptance_date_time is not applicable - For US Wire, transaction.acceptance_date_time is not applicable - For US ACH CCD/PPD payment, transaction.acceptance_date_time is not applicable - For US ACH IAT payment, transaction.acceptance_date_time is not applicable - For US ACH IAT payment, transaction.acceptance_date_time is not applicable - For SEPA IDP, transaction.acceptance_date_time is optional - For Japan Instant payment transaction.acceptance_date_time field is not applicable - For SEPA, transaction.acceptance_date_time is optional
- `payment_information_id` (string, optional) — Payment Information ID for payment
- `regulatory_reporting` (regulatory-reporting, optional)
- `structured_remittance_info` (structured-remittance-info, optional)
- `reasons` (list of Reason, optional)

### Ultimate-Debtor-Status

- `name` (string, optional) — Ultimate Debtor's bank account name - For TH Instant payment ultimate_debtor.name is not applicable - For US Instant payment ultimate_debtor.name is optional - For IN IMPS ultimate_debtor.name is not applicable - For UK FPS Instant payment ultimate_debtor.name is optional with max length 40 - For IN UPI ultimate_debtor.name is not applicable - For US Wire, ultimate_debtor name is a conditional field with min 1 and max 35 characters. It become mandatory if Ultimate Remitter is being used for POBO. - For US ACH CCD/PPD/IAT payment, ultimate_debtor.name field is mandatory and allowed max length is 16 - For Japan Instant payment ultimate_debtor.name field is optional - For TH NRBA Instant remittances payment ultimate_debtor.name is mandatory - For India FIR IMPS payment, ultimate_debtor.name field is mandatory with max length 50 - For SEPA, ultimate_debtor.name is optional with max length 70 - For SEPA IDP ultimate_debtor.name is optional with max length 70
- `address_lines` (list of string, optional) — Ultimate Debtor's address_lines - For TH Instant payment ultimate_debtor.address_lines is not applicable - For US Instant payment ultimate_debtor.address_lines is optional - For IN IMPS ultimate_debtor.address_lines is not applicable - For UK FPS Instant payment ultimate_debtor.address_lines is optional with max 4 instances allowed and each line max length 35 - For IN UPI ultimate_debtor.address_lines is not applicable - For US Wire payment, ultimate_debtor.address_lines field is conditional and upto 3 lines of min 1 and max 35 characters are allowed. Partial addresses will not be accepted, Street name, city and country should present in address_line. It become mandatory if Ultimate Remitter is being used for POBO - For US ACH CCD/PPD/IAT payment, ultimate_debtor.address_lines is mandatory when structured address lines fields are not provided and allowed three instance with each line max length of 35, Address Line 1 should have Building info followed by asterik, Street Address ends with a single backslash Address Line 2 and then application to check Address Line2 should have City followed by asterik, State ends with a single backslash Address Line 3 should have Zip Code followed by asterik, Country Code ends with a single backslash For example Zip code*US\ - For Japan Instant payment ultimate_debtor.address_lines is optional with max 7 instances allowed and each line max length 70 - For India FIR IMPS payment ultimate_debtor.address_lines is optional - For SEPA IDP, ultimate_debtor.address_lines field is optional with maximum of 2 lines allowed and upto 70 chars each line - For SEPA, ultimate_debtor.address_lines field is optional with maximum of 2 lines allowed and upto 70 chars each line
- `street_name` (string, optional) — Ultimate Debtor's street_name - For TH Instant payment ultimate_debtor.street_name is not applicable - For US Instant payment ultimate_debtor.street_name is optional - For IN IMPS ultimate_debtor.street_name is not applicable - For UK FPS Instant payment ultimate_debtor.street_name is optional with max length 70 - For IN UPI ultimate_debtor.street_name is not applicable - For US Wire ultimate_debtor.street_name is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.street_name is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 18 - For Japan Instant payment ultimate_debtor.street_name field is optional - For India FIR IMPS payment, ultimate_debtor.street_name field is mandatory with max length 35 - For SEPA, ultimate_debtor.street_name field is not applicable - For SEPA IDP, this field is not applicable
- `building_number` (string, optional) — Ultimate Debtor's building_number - For TH Instant payment ultimate_debtor.building_number is not applicable - For US Instant payment ultimate_debtor.building_number field is optional - For IN IMPS ultimate_debtor.building_number is not applicable - For UK FPS Instant payment ultimate_debtor.building_number is optional with max length 16 - For IN UPI ultimate_debtor.building_number is not applicable - For US Wire ultimate_debtor.building_number is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.building_number is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 16 - For Japan Instant payment ultimate_debtor.building_number field is optional - For India FIR IMPS payment, ultimate_debtor.building_number field is mandatory with max length 16 - For SEPA, ultimate_debtor.street_name field is not applicable - For SEPA IDP, this field is not applicable
- `postal_code` (string, optional) — Ultimate Debtor's postal_code - For TH Instant payment ultimate_debtor.postal_code is not applicable - For US Instant payment ultimate_debtor.postal_code field is optional - For IN IMPS ultimate_debtor.postal_code is not applicable - For UK FPS Instant payment ultimate_debtor.postal_code is optional with max length 16 - For IN UPI ultimate_debtor.postal_code is not applicable - For US Wire ultimate_debtor.postal_code is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.postal_code is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 16 - For Japan Instant payment ultimate_debtor.postal_code field is optional - For India FIR IMPS payment, ultimate_debtor.postal_code field is mandatory - For SEPA, ultimate_debtor.postal_code is not applicable - For SEPA IDP, this field is not applicable
- `town_name` (string, optional) — Ultimate Debtor's town name - For SEPA,TH, US, IN IMPS, UK FPS, IN UPI, US Wire, JP payments ultimate_debtor.town_name is not applicable - For TH NRBA Instant remittances payment ultimate_debtor.town_name field is mandatory, if client provided ultimate_debtor.country field - For SEPA IDP, this field is not applicable
- `city` (string, optional) — Ultimate Debtor's city - For TH Instant payment ultimate_debtor.city is not applicable - For US Instant payment ultimate_debtor.city field is optional - For IN IMPS ultimate_debtor.city is not applicable - For UK FPS Instant payment ultimate_debtor.city is optional with max length 35 - For IN UPI ultimate_debtor.city is not applicable - For US Wire ultimate_debtor.city is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.city is is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 32 - For Japan Instant payment ultimate_debtor.city field is optional - For India FIR IMPS payment, ultimate_debtor.city field is mandatory - For SEPA, ultimate_debtor.postal_code is not applicable - For SEPA IDP, ultimate_debtor.postal_code is not applicable
- `state` (string, optional) — Ultimate Debtor's state - For TH Instant payment ultimate_debtor.state is not applicable - For US Instant payment ultimate_debtor.state field is optional - For IN IMPS ultimate_debtor.state is not applicable - For UK FPS Instant payment ultimate_debtor.state is optional with max length 35 - For IN UPI ultimate_debtor.state is not applicable - For US Wire ultimate_debtor.state is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.state is is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 2 - For Japan Instant payment ultimate_debtor.state field is optional - For India FIR IMPS payment, ultimate_debtor.state field is optional - For SEPA, ultimate_debtor.postal_code is not applicable - For SEPA IDP, ultimate_debtor.postal_code is not applicable
- `country` (string, optional) — Ultimate Debtor's country - For TH Instant payment ultimate_debtor.country is not applicable - For US Instant payment ultimate_debtor.country field is optional - For IN IMPS ultimate_debtor.country is not applicable - For UK FPS Instant payment ultimate_debtor.country is conditional and becomes mandatory if ultimate_debtor.name is provided - For IN UPI ultimate_debtor.country is not applicable - For US Wire ultimate_debtor.country is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.country is mandatory if ultimate_debtor.address_lines is not provided and allowed max length is 2 - For TH NRBA Instant remittances payment ultimate_debtor.country field is mandatory, if client provided ultimate_debtor.town_name field - For India FIR IMPS payment, ultimate_debtor.country field is mandatory - For SEPA ultimate_debtor.country is conditional and becomes mandatory if ultimate_debtor.name is provided - For SEPA IDP, ultimate_debtor.country is conditional and becomes mandatory if ultimate_debtor.name is provided
- `org_id` (string, optional) — Ultimate Debtor's org\_id * For TH Instant payment ultimate\_debtor.org\_id is not applicable * For US Instant payment ultimate\_debtor.org\_id field is optional with max length 20.Pattern should be followed \[A-Z0-9]\[0-9] where first 18 characters can be uppercase or numbers and the last two characters must be numeric * For IN IMPS ultimate\_debtor.org\_id is not applicable * For UK FPS Instant payment ultimate\_debtor.org\_id is optional with max length 35 * For IN UPI ultimate\_debtor.org\_id is not applicable * For US Wire, ultimate\_debtor.org\_id is conditionally optional field with max length 34. It become mandatory if POBO is being used. It is present only if prvt\_id is not present * For US ACH CCD/PPD payment, ultimate\_debtor.org\_id field is mandatory and applicable value is Organisation TXID or CUST Identification values and value should prefix with /TXID/ or /CUST/, if ultimate\_debtor.prvt\_id field is not provided by client and allowed value max length is 10 without prefix (/TXID/ or /CUST/) * For US ACH IAT payment, ultimate\_debtor.org\_id is mandatory if ultimate\_debtor.prvt\_id is not provided and allowed max length is 10 * For SEPA IDP ultimate\_debtor.org\_id is optional with max length 35 * For Japan Instant payment ultimate\_debtor.org\_id field is not applicable * For India FIR IMPS payment, ultimate\_debtor.org\_id field is mandatory * For SEPA, ultimate\_debtor.org\_id is optional with max length 35 * For SEPA IDP ultimate\_debtor.org\_id is optional with max length 35
- `birth_date` (date, optional) — ISO 8601 (YYYY-MM-DD), ultimate debtor's birth date - For TH Instant payment ultimate_debtor.birth_date is not applicable - For US Instant payment ultimate_debtor.birth_date field is optional - For IN IMPS ultimate_debtor.birth_date is not applicable - For UK FPS Instant payment ultimate_debtor.birth_date field is optional - For IN UPI ultimate_debtor.birth_date is not applicable - For US Wire ultimate_debtor.birth_date is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.birth_date is not applicable - For SEPA IDP ultimate_debtor.birth_date field is optional - For Japan Instant payment ultimate_debtor.birth_date field is not applicable - For SEPA, ultimate_debtor.birth_date field is optional
- `birth_city` (string, optional) — Ultimate debtor's birth city - For TH Instant payment ultimate_debtor.birth_city is not applicable - For US Instant payment ultimate_debtor.birth_city field is optional - For IN IMPS ultimate_debtor.birth_city is not applicable - For UK FPS Instant payment ultimate_debtor.birth_city is optional with max length 35 - For IN UPI ultimate_debtor.birth_city is not applicable - For US Wire ultimate_debtor.birth_city is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.birth_city is not applicable - For SEPA IDP ultimate_debtor.birth_city is optional with max length 35 - For Japan Instant payment ultimate_debtor.birth_city field is not applicable - For SEPA, ultimate_debtor.birth_city is optional with max length 35
- `birth_country` (string, optional) — Ultimate debtor's birth country - For TH Instant payment ultimate_debtor.birth_country is not applicable - For US Instant payment ultimate_debtor.birth_country field is optional - For IN IMPS ultimate_debtor.birth_country is not applicable - For UK FPS Instant payment ultimate_debtor.birth_country is optional with max length 2 - For IN UPI ultimate_debtor.birth_country is not applicable - For US Wire ultimate_debtor.birth_country is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_debtor.birth_country is not applicable - For SEPA IDP ultimate_debtor.birth_country field is optional - For Japan Instant payment ultimate_debtor.birth_country field is not applicable - For SEPA, ultimate_debtor.birth_country field is optional
- `prvt_id` (string, optional) — Ultimate Debtor's private id - For TH Instant payment ultimate_debtor.prvt_id is not applicable - For US Instant payment ultimate_debtor.prvt_id field is optional with max length 35.Either org_id or prvt_id or none of them should be passed by client - For IN IMPS ultimate_debtor.prvt_id is not applicable - For UK FPS Instant payment ultimate_debtor.prvt_id is not applicable - For IN UPI ultimate_debtor.prvt_id is not applicable - For US Wire, ultimate_debtor.prvt_id is conditionally optional field with max length 34. It become mandatory if POBO is being used. It is present only if org_id is not present - For US ACH CCD/PPD payment, ultimate_debtor.prvt_id field is mandatory and applicable value is Organisation TXID or CUST Identification values and value should prefix with /TXID/ or /CUST/, if ultimate_debtor.org_id field is not provided by client - For US ACH IAT payment, ultimate_debtor.prvt_id is mandatory if ultimate_debtor.org_id is not provided and allowed max length is 10 - For SEPA IDP ultimate_debtor.prvt_id field is optional with max length 35 - For SEPA, ultimate_debtor.prvt_id field is optional with max length 35 - For Japan Instant payment ultimate_debtor.prvt_id field is not applicable - For SEPA IDP ultimate_debtor.prvt_id field is optional with max length 35
- `anybic` (string, optional) — Ultimate Debtor BIC - For TH Instant payment ultimate_debtor.anybic is not applicable - For US Instant payment ultimate_debtor.anybic is not applicable - For IN IMPS ultimate_debtor.anybic is not applicable - For UK FPS Instant payment ultimate_debtor.anybic is not applicable - For IN UPI ultimate_debtor.anybic is not applicable - For US Wire, ultimate_debtor.anybic is not applicable - For US ACH CCD/PPD payment, ultimate_debtor.anybic is not applicable - For US ACH IAT payment, ultimate_debtor.anybic is not applicable - For US ACH IAT payment, ultimate_debtor.anybic is not applicable - For SEPA IDP, ultimate_debtor.anybic is optional with max length 11 - For Japan Instant payment ultimate_debtor.anybic field is not applicable - For SEPA, ultimate_debtor.anybic is optional with max length 11
- `lei` (string, optional) — LEI of Organization ID for Ultimate Debtor - For TH Instant payment ultimate_debtor.lei is not applicable - For US Instant payment ultimate_debtor.lei is not applicable - For IN IMPS ultimate_debtor.lei is not applicable - For UK FPS Instant payment ultimate_debtor.lei is not applicable - For IN UPI ultimate_debtor.lei is not applicable - For US Wire, ultimate_debtor.lei is not applicable - For US ACH CCD/PPD payment, ultimate_debtor.lei is not applicable - For US ACH IAT payment, ultimate_debtor.lei is not applicable - For US ACH IAT payment, ultimate_debtor.lei is not applicable - For SEPA IDP, ultimate_debtor.lei is optional with max length 20 - For Japan Instant payment ultimate_debtor.lei field is not applicable - For SEPA, ultimate_debtor.lei is optional with max length 20
- `issuer` (string, optional) — Ultimate Debtor name that identifies an issuer - For TH Instant payment ultimate_debtor.issuer is not applicable - For US Instant payment ultimate_debtor.issuer is not applicable - For IN IMPS ultimate_debtor.issuer is not applicable - For UK FPS Instant payment ultimate_debtor.issuer is not applicable - For IN UPI ultimate_debtor.issuer is not applicable - For US Wire, ultimate_debtor.issuer is not applicable - For US ACH CCD/PPD payment, ultimate_debtor.issuer is not applicable - For US ACH IAT payment, ultimate_debtor.issuer is not applicable - For US ACH IAT payment, ultimate_debtor.issuer is not applicable - For SEPA IDP, ultimate_debtor.issuer is optional with max length 35 - For Japan Instant payment ultimate_debtor.issuer field is not applicable - For SEPA, ultimate_debtor.issuer is optional with max length 35
- `birth_province` (string, optional) — Ultimate Debtor Province Of Birth - For TH Instant payment ultimate_debtor.birth_province is not applicable - For US Instant payment ultimate_debtor.birth_province is not applicable - For IN IMPS ultimate_debtor.birth_province is not applicable - For UK FPS Instant payment ultimate_debtor.birth_province is not applicable - For IN UPI ultimate_debtor.birth_province is not applicable - For US Wire, ultimate_debtor.birth_province is not applicable - For US ACH CCD/PPD payment, ultimate_debtor.birth_province is not applicable - For US ACH IAT payment, ultimate_debtor.birth_province is not applicable - For US ACH IAT payment, ultimate_debtor.birth_province is not applicable - For SEPA IDP, ultimate_debtor.birth_province is optional with max length 35 - For Japan Instant payment ultimate_debtor.birth_province field is not applicable - For SEPA, ultimate_debtor.birth_province is optional with max length 35
- `bank_id` (string, optional) — Ultimate Debtor's bank identification - For TH , US, IN IMPS, UK FPS, IN UPI, US Wire, US ACH CCD/PPD/IAT,SEPA,SEPA IDP and JP payment ultimate_debtor.bank_id is not applicable - For India FIR IMPS payment, ultimate_debtor.bank_id field is mandatory with max length 11
- `scheme_name` (string, optional) — Ultimate debtor's scheme name

### Ultimate-Creditor-Status

- `name` (string, optional) — Ultimate Creditor's bank account name - For TH Instant payment ultimate_creditor.name is not applicable - For US Instant payment ultimate_creditor.name is optional - For IN IMPS ultimate_creditor.name is not applicable - For UK FPS Instant payment ultimate_creditor.name field is optional with max length 140 - For IN UPI ultimate_creditor.name is not applicable - US Wire, ultimate_creditor.name is not applicable - For US ACH CCD/PPD payment, ultimate_creditor.name field is mandatory and allowed max length is 22 - For US ACH IAT payment, ultimate_creditor.name field is mandatory and allowed max length is 35 - For SEPA IDP ultimate_creditor.name is optional - For Japan Instant payment ultimate_creditor.name field is not applicable - For SEPA, ultimate_creditor.name is optional and maxLength is 70
- `address_lines` (list of string, optional) — Ultimate Creditor's address_lines - For TH Instant payment ultimate_creditor.address_lines is not applicable - For US Instant payment ultimate_creditor.address_lines is optional - For IN IMPS ultimate_creditor.address_lines is not applicable - For UK FPS Instant payment ultimate_creditor.address_lines field is optional - For IN UPI ultimate_creditor.address_lines is not applicable - For US Wire, ultimate_creditor.address_lines is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.address_lines field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.address_lines field is not applicable - For SEPA, this field is not applicable
- `street_name` (string, optional) — Ultimate Creditor's street_name - For TH Instant payment ultimate_creditor.street_name is not applicable - For US Instant payment ultimate_creditor.street_name is optional - For IN IMPS ultimate_creditor.street_name is not applicable - For UK FPS Instant payment ultimate_creditor.street_name field is optional with max length 70 - For IN UPI ultimate_creditor.street_name is not applicable - For US Wire, ultimate_creditor.street_name is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.street_name field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.street_name field is not applicable - For SEPA, this field is not applicable
- `building_number` (string, optional) — Ultimate Creditor's building_number - For TH Instant payment ultimate_creditor.building_number is not applicable - For US Instant payment ultimate_creditor.building_number field is optional - For IN IMPS ultimate_creditor.building_number is not applicable - For UK FPS Instant payment ultimate_creditor.building_number field is optional with max length 16 - For IN UPI ultimate_creditor.building_number is not applicable - For US Wire, ultimate_creditor.building_number is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.building_number field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.building_number field is not applicable - For SEPA, this field is not applicable
- `postal_code` (string, optional) — Ultimate Creditor's postal_code - For TH Instant payment ultimate_creditor.postal_code is not applicable - For US Instant payment ultimate_creditor.postal_code field is optional - For IN IMPS ultimate_creditor.postal_code is not applicable - For UK FPS Instant payment ultimate_creditor.postal_code field is optional with max length 16 - For IN UPI ultimate_creditor.postal_code is not applicable - For US Wire, ultimate_creditor.postal_code is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.postal_code field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.postal_code field is not applicable - For SEPA, this field is not applicable
- `city` (string, optional) — Ultimate Creditor's city - For TH Instant payment ultimate_creditor.city is not applicable - For US Instant payment ultimate_creditor.city field is optional - For IN IMPS ultimate_creditor.city is not applicable - For UK FPS Instant payment ultimate_creditor.city field is optional with max length 35 - For IN UPI ultimate_creditor.city is not applicable - For US Wire, ultimate_creditor.city is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.city field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.city field is not applicable - For SEPA, this field is not applicable
- `state` (string, optional) — Ultimate Creditor's state - For TH Instant payment ultimate_creditor.state is not applicable - For US Instant payment ultimate_creditor.state field is optional - For IN IMPS ultimate_creditor.state is not applicable - For UK FPS Instant payment ultimate_creditor.state field is optional with max length 35 - For IN UPI ultimate_creditor.state is not applicable - For US Wire, ultimate_creditor.state is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.state field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.state field is not applicable - For SEPA, this field is not applicable
- `country` (string, optional) — Ultimate Creditor's country - For TH Instant payment ultimate_creditor.country is not applicable - For US Instant payment ultimate_creditor.country field is optional - For IN IMPS ultimate_creditor.country is not applicable - For UK FPS Instant payment ultimate_creditor.country field is optional - For IN UPI ultimate_creditor.country is not applicable - For US Wire, ultimate_creditor.country is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.country field is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment ultimate_creditor.country field is not applicable - For SEPA, this field is not applicable
- `org_id` (string, optional) — Ultimate Creditor's org\_id * For TH Instant payment ultimate\_creditor.org\_id is not applicable * For US Instant payment ultimate\_creditor.org\_id field is optional with max length 20.Pattern should be followed \[A-Z0-9]\[0-9] where first 18 characters can be uppercase or numbers and the last two characters must be numeric * For IN IMPS ultimate\_creditor.org\_id is not applicable * For UK FPS Instant payment ultimate\_creditor.org\_id field is optional with max length 35 * For IN UPI ultimate\_creditor.org\_id is not applicable * US Wire, ultimate\_creditor.org\_id is not applicable * For US ACH CCD/PPD/IAT payment, ultimate\_creditor.org\_id field is not applicable * For SEPA IDP ultimate\_creditor.org\_id field is optional with max length 35 * For Japan Instant payment ultimate\_creditor.org\_id field is not applicable * For SEPA, ultimate\_creditor.org\_id field is optional with max length 35
- `prvt_id` (string, optional) — Ultimate Creditor's private id - For TH Instant payment ultimate_creditor.prvt_id is not applicable - For US Instant payment ultimate_creditor.prvt_id field is optional with max length 35.Either org_id or prvt_id or none of them should be passed by client - For IN IMPS ultimate_creditor.prvt_id is not applicable - For UK FPS Instant payment ultimate_creditor.prvt_id is not applicable - For IN UPI ultimate_creditor.prvt_id is not applicable - US Wire, ultimate_creditor.prvt_id is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.prvt_id field is not applicable - For SEPA IDP ultimate_creditor.prvt_id field is optional with max length 35 - For Japan Instant payment ultimate_creditor.prvt_id field is not applicable - For SEPA, ultimate_creditor.prvt_id field is optional with max length 35
- `birth_date` (date, optional) — ISO 8601 (YYYY-MM-DD), ultimate creditor's birth date - For TH Instant payment ultimate_creditor.birth_date is not applicable - For US Instant payment ultimate_creditor.birth_date field is not applicable - For IN IMPS ultimate_creditor.birth_date is not applicable - For UK FPS Instant payment ultimate_creditor.birth_date field is not applicable - For IN UPI ultimate_creditor.birth_date is not applicable - For US Wire ultimate_creditor.birth_date is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.birth_date is not applicable - For SEPA IDP ultimate_creditor.birth_date field is optional - For Japan Instant payment ultimate_creditor.birth_date field is not applicable - For SEPA, ultimate_creditor.birth_date field is optional
- `birth_city` (string, optional) — Ultimate creditor's birth city - For TH Instant payment ultimate_creditor.birth_city is not applicable - For US Instant payment ultimate_creditor.birth_city field is not applicable - For IN IMPS ultimate_creditor.birth_city is not applicable - For UK FPS Instant payment ultimate_creditor.birth_city is not applicable - For IN UPI ultimate_creditor.birth_city is not applicable - For US Wire ultimate_creditor.birth_city is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.birth_city is not applicable - For SEPA IDP ultimate_creditor.birth_city is optional with max length 35 - For Japan Instant payment ultimate_creditor.birth_city field is not applicable - For SEPA, ultimate_creditor.birth_city is optional with max length 35
- `birth_country` (string, optional) — Ultimate creditor's birth country - For TH Instant payment ultimate_creditor.birth_country is not applicable - For US Instant payment ultimate_creditor.birth_country field is not applicable - For IN IMPS ultimate_creditor.birth_country is not applicable - For UK FPS Instant payment ultimate_creditor.birth_country is not applicable - For IN UPI ultimate_creditor.birth_country is not applicable - For US Wire ultimate_creditor.birth_country is not applicable - For US ACH CCD/PPD/IAT payment, ultimate_creditor.birth_country is not applicable - For SEPA IDP ultimate_creditor.birth_country field is optional - For Japan Instant payment ultimate_creditor.birth_country field is not applicable - For SEPA, ultimate_creditor.birth_country field is optional and allowed maxLength is 2
- `anybic` (string, optional) — Ultimate creditor BIC - For TH Instant payment ultimate_creditor.anybic is not applicable - For US Instant payment ultimate_creditor.anybic is not applicable - For IN IMPS ultimate_creditor.anybic is not applicable - For UK FPS Instant payment ultimate_creditor.anybic is not applicable - For IN UPI ultimate_creditor.anybic is not applicable - For US Wire, ultimate_creditor.anybic is not applicable - For US ACH CCD/PPD payment, ultimate_creditor.anybic is not applicable - For US ACH IAT payment, ultimate_creditor.anybic is not applicable - For US ACH IAT payment, ultimate_creditor.anybic is not applicable - For SEPA IDP, ultimate_creditor.anybic is optional with max length 11 - For Japan Instant payment ultimate_creditor.anybic field is not applicable - For SEPA, ultimate_creditor.anybic is optional with max length 11
- `lei` (string, optional) — LEI of Organization ID for Ultimate creditor - For TH Instant payment ultimate_creditor.lei is not applicable - For US Instant payment ultimate_creditor.lei is not applicable - For IN IMPS ultimate_creditor.lei is not applicable - For UK FPS Instant payment ultimate_creditor.lei is not applicable - For IN UPI ultimate_creditor.lei is not applicable - For US Wire, ultimate_creditor.lei is not applicable - For US ACH CCD/PPD payment, ultimate_creditor.lei is not applicable - For US ACH IAT payment, ultimate_creditor.lei is not applicable - For US ACH IAT payment, ultimate_creditor.lei is not applicable - For SEPA IDP, ultimate_creditor.lei is optional with max length 20 - For Japan Instant payment ultimate_creditor.lei field is not applicable - For SEPA, ultimate_creditor.lei is optional with max length 20
- `issuer` (string, optional) — Ultimate creditor name that identifies an issuer - For TH Instant payment ultimate_creditor.issuer is not applicable - For US Instant payment ultimate_creditor.issuer is not applicable - For IN IMPS ultimate_creditor.issuer is not applicable - For UK FPS Instant payment ultimate_creditor.issuer is not applicable - For IN UPI ultimate_creditor.issuer is not applicable - For US Wire, ultimate_creditor.issuer is not applicable - For US ACH CCD/PPD payment, ultimate_creditor.issuer is not applicable - For US ACH IAT payment, ultimate_creditor.issuer is not applicable - For US ACH IAT payment, ultimate_creditor.issuer is not applicable - For SEPA IDP, ultimate_creditor.issuer is optional with max length 35 - For Japan Instant payment ultimate_creditor.issuer field is not applicable - For SEPA, ultimate_creditor.issuer is optional with max length 35
- `birth_province` (string, optional) — Ultimate creditor Province Of Birth - For TH Instant payment ultimate_creditor.birth_province is not applicable - For US Instant payment ultimate_creditor.birth_province is not applicable - For IN IMPS ultimate_creditor.birth_province is not applicable - For UK FPS Instant payment ultimate_creditor.birth_province is not applicable - For IN UPI ultimate_creditor.birth_province is not applicable - For US Wire, ultimate_creditor.birth_province is not applicable - For US ACH CCD/PPD payment, ultimate_creditor.birth_province is not applicable - For US ACH IAT payment, ultimate_creditor.birth_province is not applicable - For US ACH IAT payment, ultimate_creditor.birth_province is not applicable - For SEPA IDP, ultimate_creditor.birth_province is optional with max length 35 - For Japan Instant payment ultimate_creditor.birth_province field is not applicable - For SEPA, ultimate_creditor.birth_province is optional with max length 35
- `scheme_name` (string, optional) — Ultimate creditor's scheme name

### Intermediary-Details-Status

iintermediary agents information. Note: 1st occurance of intermediary set will be used intermediary agent 1 information. 2nd occurance of intermediary set will be used for intermediary agent 2

- `bank_id` (string, optional) — intermediary agent identifier (e.g., routing number in the United States) * For TH Instant payment Intermediary.bank\_id field is not applicable * For US Instant payment Intermediary.bank\_id field is not applicable * For IN IMPS Instant payment Intermediary.bank\_id field is not applicable * For UK FPS Instant payment Intermediary.bank\_id field is not applicable * For IN UPI Instant payment Intermediary.bank\_id field is not applicable * For US Wire, intermediary.bank\_id field is optional. Applicable to 3 credit party payments only, either BIC or MmbId should be provided. If the input is BIC, min and max length should be 8 and 11 and should adhere to pattern \[A-Z]\[A-Z2-9][A-NP-Z0-9](\[A-Z0-9]\{3,3}). If the input is routing code, min and max length is 1 and 11. Note: 1. First Intermediary bank SWIFT Code (BIC) is applicable to 3 credit party payments only. 2. Second Intermediary bank SWIFT Code is applicable to 3 credit party payments only * For US ACH CCD/PPD payment, Intermediary.bank\_id is not applicable * For US ACH IAT payment, Intermediary.bank\_id is mandatory and allowed max length is 11 * For SEPA IDP, this field is not applicable * For Japan Instant payment Intermediary.bank\_id field is not applicable
- `bank_name` (string, optional) — intermediary agent name - For TH Instant payment Intermediary.bank_name is not applicable - For US Instant payment Intermediary.bank_name is not applicable - For IN IMPS Instant payment Intermediary.bank_name is not applicable - For UK FPS Instant payment Intermediary.bank_name is not applicable - For IN UPI Instant payment Intermediary.bank_name is not applicable - For US Wire, Intermediary.bank_name field is conditional with max length 35. Mandaotry if payment is 3 and 4 credit party payment - For US ACH CCD/PPD payment, Intermediary.bank_name is not applicable - For US ACH IAT payment, Intermediary.bank_name is optional and allowed max length is 35 - For SEPA IDP, this field is not applicable - For Japan Instant payment Intermediary.bank_name field is not applicable
- `bank_country` (string, optional) — intermediary agent Country - For TH Instant payment intermediary.bank_country is not applicable - For US Instant payment intermediary.bank_country is not applicable - For IN IMPS intermediary.bank_country is not applicable - For UK FPS Instant payment intermediary.bank_country is not applicable - For IN UPI intermediary.bank_country is not applicable - For US Wire, intermediary.bank_country field is mandatory with max length 2. - For US ACH CCD/PPD payment, Intermediary.bank_country is not applicable - For US ACH IAT payment, Intermediary.bank_country is mandatory - For SEPA IDP, this field is not applicable - For Japan Instant payment Intermediary.bank_country field is not applicable
- `bank_address_lines` (list of string, optional) — intermediary agent address_lines - For TH Instant payment intermediary.bank_address_lines is not applicable - For US Instant payment intermediary.bank_address_lines is not applicable - For IN IMPS intermediary.bank_address_lines is not applicable - For UK FPS Instant payment intermediary.bank_address_lines is not applicable - For IN UPI intermediary.bank_address_lines is not applicable - For US Wire payment, intermediary.bank_.address_lines field is optional and upto 3 lines of min 1 and max 35 characters are allowed. - For US ACH CCD/PPD/IAT payment, Intermediary.bank_address_lines is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment Intermediary.bank_address_lines field is not applicable
- `bank_account_id` (string, optional) — intermediary agent account id - For TH Instant payment intermediary.bank_account_id is not applicable - For US Instant payment intermediary.bank_account_id is not applicable - For IN IMPS intermediary.bank_account_id is not applicable - For UK FPS Instant payment intermediary.bank_account_id is not applicable - For IN UPI intermediary.bank_account_id is not applicable - For US Wire, intermediary.bank_account_id is an optional field with max length is 34 - For US ACH CCD/PPD/IAT payment, Intermediary.bank_account_id is not applicable - For SEPA IDP, this field is not applicable - For Japan Instant payment Intermediary.bank_account_id field is not applicable

### Instructed-Agent-Status

- `bank_id` (string, optional) — Instructed Agent/creditor Agent member Identification ID or BIC of a clearing system. - For TH Instant payment instructed_agent.bank_id field is not applicable - For US Instant payment instructed_agent.bank_id field is not applicable - For IN IMPS Instant payment instructed_agent.bank_id field is not applicable - For UK FPS Instant payment instructed_agent.bank_id field is not applicable - For IN UPI Instant payment instructed_agent.bank_id field is not applicable - For US Wire, instructed_agent.bank_id is not applicable - For US ACH CCD/PPD payment, instructed_agent.bank_id is not applicable - For US ACH IAT payment, instructed_agent.bank_id is not applicable - For SEPA IDP instructed_agent.bank_id field is mandatory with max length 11 - For Japan Instant payment instructed_agent.bank_id field is not applicable - For SEPA, instructed_agent.bank_id field is mandatory with max length 11

### Instructing-Agent-Status

- `bank_id` (string, optional) — Instructing Agent/Debtor Agent member Identification ID or BIC of a clearing system. - For TH Instant payment instructing_agent.bank_id field is not applicable - For US Instant payment instructing_agent.bank_id field is not applicable - For IN IMPS Instant payment instructing_agent.bank_id field is not applicable - For UK FPS Instant payment instructing_agent.bank_id field is not applicable - For IN UPI Instant payment instructing_agent.bank_id field is not applicable - For US Wire, instructing_agent.bank_id is not applicable - For US ACH CCD/PPD payment, instructing_agent.bank_id is not applicable - For US ACH IAT payment, instructing_agent.bank_id is not applicable - For SEPA IDP instructing_agent.bank_id field is mandatory with max length 11 - For Japan Instant payment instructing_agent.bank_id field is not applicable - For India FIR IMPS Instant payment instructing_agent.bank_id field is optional and allowed length is 11 - For SEPA, instructing_agent.bank_id field is mandatory with max length 11
- `bank_name` (string, optional) — Instructing Agent name. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.bank_name field is not applicable - For India FIR IMPS Instant payment instructing_agent.bank_name field is mandatory, if client provided instructing_agent.bank_id and allowed max length is 100
- `street_name` (string, optional) — Instructing Agent street name. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.street_name field is not applicable - For India FIR IMPS Instant payment instructing_agent.street_name field is mandatory, if client provided instructing_agent.bank_id and allowed max length is 35
- `building_number` (string, optional) — Instructing Agent building number. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.building_number field is not applicable - For India FIR IMPS Instant payment instructing_agent.building_number field is mandatory, if client provided instructing_agent.bank_id and allowed max length is 16
- `postal_code` (string, optional) — Instructing Agent postal code. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.postal_code field is not applicable - For India FIR IMPS Instant payment instructing_agent.postal_code field is mandatory, if client provided instructing_agent.bank_id
- `city` (string, optional) — Instructing Agent city. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.city field is not applicable - For India FIR IMPS Instant payment instructing_agent.city field is mandatory, if client provided instructing_agent.bank_id
- `state` (string, optional) — Instructing Agent state. - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.state field is not applicable - For India FIR IMPS Instant payment instructing_agent.state field is mandatory, if client provided instructing_agent.bank_id
- `country` (string, optional) — Instructing Agent country - For TH, US, India IMPS, UK FPS, IN UPI, Stripe US - Wire, Stripe US- ACH CCD/PPD/IAT, SEPA, SEPA IDP and JP payment instructing_agent.country field is not applicable - For India FIR IMPS Instant payment instructing_agent.country field is mandatory, if client provided instructing_agent.bank_id

### Account-Validation-Status

- `uetr` (string, optional) — UUID v4 format unique end-to-end transaction reference
- `status` (AccountValidationStatusStatus, optional)
- `reasons` (AccountValidationStatusReasons, optional)
- `account` (AccountValidationStatusAccount, optional)
- `unstructured_remittance_info` (list of string, optional) — Unstructured remitance information - For SEPA VoP this field is optional - Maximum length is 140 and single instance is allowed

### Initiating-Party-Status

- `name` (string, optional) — Initiating Party's name where participant owns the account that the OBO Payments are sent from and the Participant’s customer is an Initiating Customer that transmits payment instructions but is not in the funds flow
- `id` (string, optional) — Initiating Party's identification where participant owns the account that the OBO Payments are sent from and the Participant’s customer is an Initiating Customer that transmits payment instructions but is not in the funds flow

### Original-Payment

Either populate uetr OR (end_to_end_id AND value_date) for the refund to be processed

- `end_to_end_id` (string, optional) — Specifies a character string with a maximum length of 35 characters limited to character set X, that is, a-z A-Z / - ? : ( ) . , ‘ + . - If client_id + end_to_end_id combination is duplicate within 90 days, payment will be rejected - Thailand Max length 12 - United State Max length 35 - IN IMPS Max length 16 - UK FPS Max length is 18 - Brazil Max length is 35 - IN UPI Max length 16 - For US WIRE/ACH, Max length is 16 and allowed value is AlphaNumeric (A-Z and 0-9) - For SEPA and SEPA IDP Max length is 35 - Japan Max length 35. It allows only upper alphabet characters A-Z and accepts special characters as follows . , () -
- `uetr` (string, optional) — UUID v4 format unique end-to-end transaction reference
- `value_date` (date, optional) — Format YYYY-MM-DD Date in local time zone (e.g., EST for a United States RTP network transaction) when Citi's transaction processing application starts processing a transaction
- `instructed_amount` (double, optional) — Instructed amount - Thailand PromptPay - Maximum amount is 2000000.00 - United States - Maximum amount is 1000000.00 - SEPA - Maximum amount is 1000000.00
- `instructed_currency` (enum, optional) — ISO 4217 code for the transaction instructed amount currency
  - Allowed values: `THB`, `USD`, `BRL`, `EUR`

### Status

- `date_time` (datetime, optional) — GMT (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Date time of transaction status
- `code` (enum, optional) — ISO 20022 transaction status code
  - Allowed values: `ACTC`, `PDNG`, `RJCT`, `ACCC`, `ACWP`
- `description` (string, optional) — Status code description - ACTC - Accepted - ACCC - Completed - PDNG - Pending - RJCT - Rejected (only in case of US incoming returns - 'Returned') - ACWP - AcceptedWithoutPosting (Applicable for US country)
- `refund_status` (enum, optional) — Refund Status P - Partial Refund F - Full Refund
  - Allowed values: `P`, `F`

### regulatory-reporting

- `type` (string, optional) — Regulatory Reporting details type - For TH Instant payment transaction.regulatory_reporting.type is not applicable - For US Instant payment transaction.regulatory_reporting.type field is not applicable - For IN IMPS transaction.regulatory_reporting.type is not applicable - For UK FPS Instant payment transaction.regulatory_reporting.type is not applicable - For JP Instant payment transaction.regulatory_reporting.type is not applicable - For IN UPI transaction.regulatory_reporting.type is not applicable - For US WIRE,transaction.regulatory_reporting.type field is not applicable - For US ACH CCD/PPD/IAT payment,transaction.regulatory_reporting.type field is not applicable - For SEPA IDP transaction.regulatory_reporting.type field is optional with max length 35 - For Japan Instant payment transaction.regulatory_reporting.type field is not applicable - For SEPA, transaction.regulatory_reporting.type field is optional and allowed maxLength is 35
- `code` (string, optional) — Regulatory Reporting details code - For TH Instant payment transaction.regulatory_reporting.code is not applicable - For US Instant payment transaction.regulatory_reporting.code field is not applicable - For IN IMPS transaction.regulatory_reporting.code is not applicable - For UK FPS Instant payment transaction.regulatory_reporting.code is not applicable - For JP Instant payment transaction.regulatory_reporting.code is not applicable - For IN UPI transaction.regulatory_reporting.code is not applicable - For US WIRE,transaction.regulatory_reporting.code field is not applicable - For US ACH CCD/PPD/IAT payment,transaction.regulatory_reporting.code field is not applicable - For SEPA IDP transaction.regulatory_reporting.code field is optional with max length 10 - For Japan Instant payment transaction.regulatory_reporting.code field is not applicable - For SEPA, transaction.regulatory_reporting.code field is optional and allowed maxLength is 35

### structured-remittance-info

- `creditor_reference_information_code` (string, optional) — Structured Creditor Reference Information Code - For TH Instant payment transaction.structured_remittance_info.creditor_reference_information_code is not applicable - For US Instant payment transaction.structured_remittance_info.creditor_reference_information_code field is not applicable - For IN IMPS transaction.structured_remittance_info.creditor_reference_information_code is not applicable - For UK FPS Instant payment transaction.structured_remittance_info.creditor_reference_information_code is not applicable - For JP Instant payment transaction.structured_remittance_info.creditor_reference_information_code is not applicable - For IN UPI transaction.structured_remittance_info.creditor_reference_information_code is not applicable - For US WIRE, transaction.structured_remittance_info.creditor_reference_information_code field is not applicable - For US ACH CCD/PPD/IAT payment, transaction.structured_remittance_info.creditor_reference_information_code field is not applicable - For SEPA IDP transaction.structured_remittance_info.creditor_reference_information_code field is optional with max length 4 - For Japan Instant payment transaction.structured_remittance_info.creditor_reference_information_code field is not applicable - For SEPA, transaction.structured_remittance_info.creditor_reference_information_code field is conditional mandatory with maxLength is 4
- `creditor_reference_issuer` (string, optional) — Structured Creditor Reference Issuer - For TH Instant payment transaction.structured_remittance_info.creditor_reference_issuer is not applicable - For US Instant payment transaction.structured_remittance_info.creditor_reference_issuer field is not applicable - For IN IMPS transaction.structured_remittance_info.creditor_reference_issuer is not applicable - For UK FPS Instant payment transaction.structured_remittance_info.creditor_reference_issuer is not applicable - For JP Instant payment transaction.structured_remittance_info.creditor_reference_issuer is not applicable - For IN UPI transaction.structured_remittance_info.creditor_reference_issuer is not applicable - For US WIRE,transaction.structured_remittance_info.creditor_reference_issuer field is not applicable - For US ACH CCD/PPD/IAT payment,transaction.structured_remittance_info.creditor_reference_issuer field is not applicable - For SEPA IDP transaction.structured_remittance_info.creditor_reference_issuer field is optional with max length 35 - For Japan Instant payment transaction.structured_remittance_info.creditor_reference_issuer field is not applicable - For SEPA, transaction.structured_remittance_info.creditor_reference_issuer field is optional field and allowed maxLength is 35
- `creditor_reference` (string, optional) — Structured Creditor Reference - For TH Instant payment transaction.structured_remittance_info.creditor_reference is not applicable - For US Instant payment transaction.structured_remittance_info.creditor_reference field is not applicable - For IN IMPS transaction.structured_remittance_info.creditor_reference is not applicable - For UK FPS Instant payment transaction.structured_remittance_info.creditor_reference is not applicable - For JP Instant payment transaction.structured_remittance_info.creditor_reference is not applicable - For IN UPI transaction.structured_remittance_info.creditor_reference is not applicable - For US WIRE,transaction.structured_remittance_info.creditor_reference field is not applicable - For US ACH CCD/PPD/IAT payment,transaction.structured_remittance_info.creditor_reference field is not applicable - For SEPA IDP transaction.structured_remittance_info.creditor_reference field is optional with max length 35 - For Japan Instant payment transaction.structured_remittance_info.creditor_reference field is not applicable - For SEPA, transaction.structured_remittance_info.creditor_reference field is optional and allowed maxLength is 35

### Reason

- `code` (string, optional) — Reason codes (e.g., AM03,AM02,AC02,CH03,CH04,CH20,CH21,BE23,NARR and etc.) - refer to validation_code_description excel file for complete list of response codes and descriptions
- `description` (string, optional) — Reason code description (e.g., - AM03 -Method instructed currency is invalid (not in ISO 4217 format or value) - AM02 -Instructed amount is not ≥ 0.01 & ≤ 2,000,000.00. - AC02 -Debtor account is invalid - CH03 -Value date is in the future - CH04 -Value date is in the past - CH20 -Value-added tax (VAT) amount format is invalid - CH21 -Bill identification 1 is mandatory for a bill payment,Bill identification 2 and 3 are conditional for a bill payment - BE23 -Creditor mobile number (proxy identification) format is invalid - NARR -Creditor name maximum length is 50 ) - refer to validation_code_description excel file for complete list of response codes and descriptions
- `non_iso_code` (string, optional) — Reason local Clearing codes (e.g.0000,0080,0081,0082,0083,0084,1100 and etc.).Additional status code received from the local clearing which does not follow ISO standards but will on some occasions provide additional insights. Codes will vary by country (where applicable) and will be published on our developer portal - For UK it is an optional field with max length 4 - For SEPA IDP it is an optional field - For US, this field is optional - For SEPA, it is an optional field

### AccountValidationStatusStatus

- `date_time` (datetime, optional) — UTC (ISO 8601 YYYY-MM-DDTHH:MM:SS.sssZ) - Date time of transaction status
- `code` (enum, optional) — ISO 20022 acknowledegment status code
  - Allowed values: `ACCC`, `RJCT`
- `description` (string, optional) — Status code description - ACCC - Completed - RJCT - Rejected

### AccountValidationStatusReasons

- `code` (string, optional) — Reason code
- `description` (string, optional) — Reason code description

### AccountValidationStatusAccount

- `number_validation` (enum, optional) — Account validation result - For SEPA VoP,this field is optional - MATCH - Validation based on account is a match - MISMATCH - Validation based on account is a mismatch - NA - Account match did not happen
  - Allowed values: `MATCH`, `MISMATCH`, `NA`
- `name_validation` (enum, optional) — Name validation result - For SEPA VoP,this field is optional - MATCH - Validation based on name is a match - MISMATCH - Validation based on name is a mismatch - PARTIALMATCH - Validation based on name is a partial match - NOTCHECKED - Validation not checked - NA - Name match did not happen
  - Allowed values: `MATCH`, `MISMATCH`, `PARTIALMATCH`, `NA`

## Examples

### TH Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "897654321"
    },
    "creditor": {
      "account": "44227754321"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "7634an78543",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 29876.98,
      "settlement_currency": "THB",
      "settlement_amount": 29876.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "557654321"
    },
    "creditor": {
      "account": "66227754321"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f00214d-296c-404b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "9634an78543",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 276.98,
      "settlement_currency": "THB",
      "settlement_amount": 276.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  }
]
```

**SDK Code**

```python TH Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript TH Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go TH Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby TH Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java TH Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php TH Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp TH Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift TH Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### TH Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "897654321"
    },
    "creditor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "209323283934",
      "local_reference": "3324an78555",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 29876.98,
      "settlement_currency": "THB",
      "settlement_amount": 29876.98,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "444654321"
    },
    "creditor": {
      "proxy_id": "efgh@gmail.com",
      "proxy_type": "EMAL"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f00014d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "209323283934",
      "local_reference": "8824an78555",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 16.98,
      "settlement_currency": "THB",
      "settlement_amount": 16.98,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  }
]
```

**SDK Code**

```python TH Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript TH Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go TH Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby TH Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java TH Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php TH Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp TH Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift TH Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "31216795",
      "name": "Stripe",
      "org_id": "ABCDEQHNXJKLMNCGBH24",
      "bank_id": "254689456"
    },
    "creditor": {
      "account": "7788993038",
      "name": "JOHN",
      "bank_id": "789654778"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-02T08:23:49.227Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "889923283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 403,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    },
    "ultimate_debtor": {
      "name": "VA wallet merchant",
      "street_name": "4th Street",
      "org_id": "ABCDEQHNXJKLMNCGBH21"
    }
  },
  {
    "debtor": {
      "account": "31216795",
      "name": "Stripe",
      "org_id": "ABCDEQHNXJKLMNCGBH24",
      "bank_id": "254689456"
    },
    "creditor": {
      "account": "7788993038",
      "name": "JOHN",
      "bank_id": "789654778"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-02T08:23:49.227Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "889923283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 402,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    },
    "ultimate_debtor": {
      "name": "VA wallet merchant",
      "street_name": "4th Street",
      "org_id": "ABCDEQHNXJKLMNCGBH21"
    }
  }
]
```

**SDK Code**

```python US Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "220654001",
      "name": "MARK",
      "bank_id": "7895462"
    },
    "creditor": {
      "account": "00227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 405,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00",
          "non_iso_code": "1183"
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "118654001",
      "name": "MARK",
      "bank_id": "7895462"
    },
    "creditor": {
      "account": "11227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-282c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 505,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00",
          "non_iso_code": "1183"
        }
      ]
    }
  }
]
```

**SDK Code**

```python US Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "110654321",
      "name": "PETER"
    },
    "creditor": {
      "account": "44227754321",
      "name": "JOHN",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f09214d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "889923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 300.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "220654321",
      "name": "PETER"
    },
    "creditor": {
      "account": "87527754321",
      "name": "JOHN",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f07814d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "779923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 301.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  }
]
```

**SDK Code**

```python IN Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "220654001",
      "name": "MARK",
      "bank_id": "7895462"
    },
    "creditor": {
      "account": "00227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 405,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "118654001",
      "name": "MARK",
      "bank_id": "7895462"
    },
    "creditor": {
      "account": "11227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-282c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 505,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  }
]
```

**SDK Code**

```python IN Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN UPI Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "UPI",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 300.03
    },
    "reasons": [
      {
        "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  },
  {
    "debtor": {
      "proxy_id": "a70d@gmail.com",
      "account": "110993444",
      "name": "Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "UPI",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 400.04
    },
    "reasons": [
      {
        "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  }
]
```

**SDK Code**

```python IN UPI Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN UPI Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN UPI Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN UPI Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN UPI Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN UPI Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN UPI Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN UPI Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN UPI Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "UPI",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 300.03
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  },
  {
    "debtor": {
      "proxy_id": "a70d@gmail.com",
      "account": "110993444",
      "name": "Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "UPI",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 400.04
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  }
]
```

**SDK Code**

```python IN UPI Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN UPI Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN UPI Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN UPI Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN UPI Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN UPI Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN UPI Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN UPI Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN IMPS Fir Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "bank_id": "CITI0000038",
      "bank_account": "1122334455",
      "bank_name": "SCBB"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "UTIB0005144",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "string",
      "creation_date_time": "2024-01-15T09:30:00Z",
      "status": {
        "date_time": "2023-05-23T08:23:49.230Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instructed_amount": 200.02,
      "category": "FIR",
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    },
    "ultimate_debtor": {
      "name": "JOHN",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902",
      "bank_id": "HDFC000038"
    },
    "instructing_agent": {
      "bank_id": "DFCI12345",
      "bank_name": "DFCI",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902"
    }
  },
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "bank_id": "CITI0000038",
      "bank_account": "1122334455",
      "bank_name": "SCBB"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "UTIB0005144",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "string",
      "creation_date_time": "2024-01-15T09:30:00Z",
      "status": {
        "date_time": "2023-05-23T08:23:49.230Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instructed_amount": 200.02,
      "category": "FIR",
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    },
    "ultimate_debtor": {
      "name": "JOHN",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902",
      "bank_id": "HDFC000038"
    },
    "instructing_agent": {
      "bank_id": "DFCI12345",
      "bank_name": "DFCI",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902"
    }
  }
]
```

**SDK Code**

```python IN IMPS Fir Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN IMPS Fir Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN IMPS Fir Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN IMPS Fir Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN IMPS Fir Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN IMPS Fir Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN IMPS Fir Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN IMPS Fir Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN IMPS Fir Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "bank_id": "CITI0000038",
      "bank_account": "1122334455",
      "bank_name": "SCBB"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "UTIB0005144",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "string",
      "creation_date_time": "2024-01-15T09:30:00Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "instructed_amount": 200.02,
      "category": "FIR",
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    },
    "ultimate_debtor": {
      "name": "JOHN",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902",
      "bank_id": "HDFC000038"
    },
    "instructing_agent": {
      "bank_id": "DFCI12345",
      "bank_name": "DFCI",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902"
    }
  },
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "bank_id": "CITI0000038",
      "bank_account": "1122334455",
      "bank_name": "SCBB"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "UTIB0005144",
      "account_type": "02"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "string",
      "creation_date_time": "2024-01-15T09:30:00Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "instructed_amount": 200.02,
      "category": "FIR",
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    },
    "ultimate_debtor": {
      "name": "JOHN",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902",
      "bank_id": "HDFC000038"
    },
    "instructing_agent": {
      "bank_id": "DFCI12345",
      "bank_name": "DFCI",
      "street_name": "SCBB",
      "building_number": "11",
      "postal_code": "1234",
      "city": "LOS",
      "state": "TEXAS",
      "country": "US",
      "org_id": "5678902"
    }
  }
]
```

**SDK Code**

```python IN IMPS Fir Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN IMPS Fir Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN IMPS Fir Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN IMPS Fir Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN IMPS Fir Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN IMPS Fir Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN IMPS Fir Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN IMPS Fir Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### UK FPS Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "110654321",
      "name": "PETER",
      "bank_id": "561223"
    },
    "creditor": {
      "account": "44227754321",
      "name": "JOHN",
      "bank_id": "561223"
    },
    "method": {
      "country": "GB",
      "instructed_currency": "GBP",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f09214d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "889923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 300.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "220654321",
      "name": "PETER",
      "bank_id": "561993"
    },
    "creditor": {
      "account": "87527754321",
      "name": "JOHN",
      "bank_id": "561883"
    },
    "method": {
      "country": "GB",
      "instructed_currency": "GBP",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f07814d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "779923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 301.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  }
]
```

**SDK Code**

```python UK FPS Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript UK FPS Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go UK FPS Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby UK FPS Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java UK FPS Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php UK FPS Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp UK FPS Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift UK FPS Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Uk FPS Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "220654001",
      "name": "MARK",
      "bank_id": "789546"
    },
    "creditor": {
      "account": "00227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "GB",
      "instructed_currency": "GBP",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 405,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00",
          "non_iso_code": "1183"
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "118654001",
      "name": "MARK",
      "bank_id": "789546"
    },
    "creditor": {
      "account": "11227754885",
      "name": "STEVE",
      "bank_id": "561223"
    },
    "method": {
      "country": "GB",
      "instructed_currency": "GBP",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-282c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 505,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00",
          "non_iso_code": "1183"
        }
      ]
    }
  }
]
```

**SDK Code**

```python Uk FPS Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Uk FPS Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Uk FPS Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Uk FPS Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Uk FPS Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Uk FPS Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Uk FPS Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Uk FPS Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### JP Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "110654321",
      "name": "PETER"
    },
    "creditor": {
      "account": "44227754321",
      "name": "JOHN",
      "bank_id": "561223"
    },
    "method": {
      "country": "JP",
      "instructed_currency": "JPY",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f09214d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "889923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 300.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ],
      "edi_info": "JPY1234567"
    }
  },
  {
    "debtor": {
      "account": "220654321",
      "name": "PETER"
    },
    "creditor": {
      "account": "87527754321",
      "name": "JOHN",
      "bank_id": "561223"
    },
    "method": {
      "country": "JP",
      "instructed_currency": "JPY",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "p434SKtUcd77",
      "uetr": "8f07814d-296c-411b-8e9c-810bf1d9fc77",
      "creation_date_time": "2023-05-13T08:23:49.112Z",
      "status": {
        "date_time": "2023-05-02T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "779923283934",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2023-05-02",
      "instructed_amount": 301.98,
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ],
      "edi_info": "JPY1234567"
    }
  }
]
```

**SDK Code**

```python JP Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript JP Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go JP Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby JP Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java JP Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php JP Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp JP Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift JP Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### JP Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "220654001",
      "name": "MARK",
      "bank_id": "7895460"
    },
    "creditor": {
      "account": "00227754885",
      "name": "STEVE",
      "bank_id": "0561223"
    },
    "method": {
      "country": "JP",
      "instructed_currency": "JPY",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "value_date": "2023-05-02",
      "instructed_amount": 405,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  },
  {
    "debtor": {
      "account": "118654001",
      "name": "MARK",
      "bank_id": "0789546"
    },
    "creditor": {
      "account": "11227754885",
      "name": "STEVE",
      "bank_id": "8561223"
    },
    "method": {
      "country": "JP",
      "instructed_currency": "JPY",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-282c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2023-05-02T08:23:49.554Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "network_id": "88823283934",
      "type": "debit",
      "value_date": "2023-05-02",
      "instructed_amount": 505,
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
        }
      ]
    }
  }
]
```

**SDK Code**

```python JP Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript JP Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go JP Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby JP Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java JP Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php JP Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp JP Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift JP Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US WIRE Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "111111111",
      "bank_instructions": "instruction for debtor agent"
    },
    "creditor": {
      "account": "333333333",
      "name": "John Len",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "444444444",
      "bank_name": "Citi bank",
      "bank_instructions": "instruction for creditor agent"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "WIRE",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "batch_id": "492084893",
      "type": "debit",
      "purpose": "CNFL",
      "value_date": "2023-05-23",
      "instructed_amount": 200.02,
      "priority": "HIGH",
      "charges_paid_by": "DEBT"
    },
    "ultimate_debtor": {
      "name": "Jack",
      "address_lines": [
        "address line"
      ],
      "org_id": "222222222"
    },
    "intermediary": [
      {
        "bank_id": "444444444",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "555555555"
      },
      {
        "bank_id": "666666666",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "777777777"
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  },
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "111111111",
      "bank_instructions": "instruction for debtor agent"
    },
    "creditor": {
      "account": "333333333",
      "name": "John Len",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "444444444",
      "bank_name": "Citi bank",
      "bank_instructions": "instruction for creditor agent"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "WIRE",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "batch_id": "492084893",
      "type": "debit",
      "purpose": "CNFL",
      "value_date": "2023-05-23",
      "instructed_amount": 200.02,
      "priority": "HIGH",
      "charges_paid_by": "DEBT"
    },
    "ultimate_debtor": {
      "name": "Jack",
      "address_lines": [
        "address line"
      ],
      "org_id": "222222222"
    },
    "intermediary": [
      {
        "bank_id": "444444444",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "555555555"
      },
      {
        "bank_id": "666666666",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "777777777"
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  }
]
```

**SDK Code**

```python US WIRE Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US WIRE Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US WIRE Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US WIRE Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US WIRE Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US WIRE Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US WIRE Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US WIRE Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US WIRE Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "111111111",
      "bank_instructions": "instruction for debtor agent"
    },
    "creditor": {
      "account": "333333333",
      "name": "John Len",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "444444444",
      "bank_name": "Citi bank",
      "bank_instructions": "instruction for creditor agent"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "WIRE",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "batch_id": "492084893",
      "type": "debit",
      "purpose": "CNFL",
      "value_date": "2023-05-23",
      "instructed_amount": 200.02,
      "priority": "HIGH",
      "charges_paid_by": "DEBT"
    },
    "ultimate_debtor": {
      "name": "Jack",
      "address_lines": [
        "address line"
      ],
      "org_id": "222222222"
    },
    "intermediary": [
      {
        "bank_id": "444444444",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "555555555"
      },
      {
        "bank_id": "666666666",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "777777777"
      }
    ],
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  },
  {
    "debtor": {
      "account": "927393038",
      "name": "Chris Topher",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "111111111",
      "bank_instructions": "instruction for debtor agent"
    },
    "creditor": {
      "account": "333333333",
      "name": "John Len",
      "address_lines": [
        "address line"
      ],
      "country": "US",
      "bank_id": "444444444",
      "bank_name": "Citi bank",
      "bank_instructions": "instruction for creditor agent"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "WIRE",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "batch_id": "492084893",
      "type": "debit",
      "purpose": "CNFL",
      "value_date": "2023-05-23",
      "instructed_amount": 200.02,
      "priority": "HIGH",
      "charges_paid_by": "DEBT"
    },
    "ultimate_debtor": {
      "name": "Jack",
      "address_lines": [
        "address line"
      ],
      "org_id": "222222222"
    },
    "intermediary": [
      {
        "bank_id": "444444444",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "555555555"
      },
      {
        "bank_id": "666666666",
        "bank_name": "bank name",
        "bank_country": "US",
        "bank_address_lines": [
          "bank address line"
        ],
        "bank_account_id": "777777777"
      }
    ],
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  }
]
```

**SDK Code**

```python US WIRE Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US WIRE Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US WIRE Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US WIRE Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US WIRE Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US WIRE Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US WIRE Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US WIRE Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US ACH Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "ACH",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 300.03
    },
    "reasons": [
      {
        "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  },
  {
    "debtor": {
      "account": "110993444",
      "name": "Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "ACH",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 400.04
    },
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed",
      "reasons": [
        {
          "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
        }
      ]
    }
  }
]
```

**SDK Code**

```python US ACH Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US ACH Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US ACH Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US ACH Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US ACH Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US ACH Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US ACH Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US ACH Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### US ACH Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "ACH",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 300.03
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  },
  {
    "debtor": {
      "account": "110993444",
      "name": "Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "US",
      "instructed_currency": "USD",
      "method": "ACH",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "type": "debit",
      "purpose": "OTHR",
      "value_date": "2023-05-23",
      "instructed_amount": 400.04
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  }
]
```

**SDK Code**

```python US ACH Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript US ACH Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go US ACH Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby US ACH Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java US ACH Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php US ACH Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp US ACH Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift US ACH Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Payer-Id-Transaction-Get

**Response**

```json
[
  {
    "debtor": {
      "account": "897654321"
    },
    "creditor": {
      "account": "54805587254",
      "virtual_account": "9987654321"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "7634an78543",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 29876.98,
      "settlement_currency": "THB",
      "settlement_amount": 29876.98
    }
  },
  {
    "debtor": {
      "account": "660654321"
    },
    "creditor": {
      "account": "78905587254",
      "virtual_account": "9987654321"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "7634an78543",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 286.98,
      "settlement_currency": "THB",
      "settlement_amount": 286.98
    }
  }
]
```

**SDK Code**

```python Payer-Id-Transaction-Get
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Payer-Id-Transaction-Get
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Payer-Id-Transaction-Get
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Payer-Id-Transaction-Get
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Payer-Id-Transaction-Get
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Payer-Id-Transaction-Get
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Payer-Id-Transaction-Get
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Payer-Id-Transaction-Get
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### QR_account_transaction_GET

**Response**

```json
[
  {
    "debtor": {
      "account": "897654321"
    },
    "creditor": {
      "account": "552654301"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "7634an78543",
      "bill_id_1": "112288779001",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 404.01,
      "settlement_currency": "THB",
      "settlement_amount": 404.01
    }
  },
  {
    "debtor": {
      "account": "001654321"
    },
    "creditor": {
      "account": "552654301"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09288d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "local_reference": "7884an78543",
      "bill_id_1": "112288779001",
      "type": "credit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 405.01,
      "settlement_currency": "THB",
      "settlement_amount": 405.01
    }
  }
]
```

**SDK Code**

```python QR_account_transaction_GET
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript QR_account_transaction_GET
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go QR_account_transaction_GET
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby QR_account_transaction_GET
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java QR_account_transaction_GET
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php QR_account_transaction_GET
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp QR_account_transaction_GET
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift QR_account_transaction_GET
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Proxy-Transaction-Get

**Response**

```json
[
  {
    "debtor": {
      "account": "897654321"
    },
    "creditor": {
      "proxy_id": "55448877992",
      "proxy_type": "BIID"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/558SKtUcdGQ",
      "uetr": "5f09214d-596c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "batch_id": "221084801",
      "bill_id_1": "554488779934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 402.98
    }
  },
  {
    "debtor": {
      "account": "332654321"
    },
    "creditor": {
      "proxy_id": "55448877992",
      "proxy_type": "BIID"
    },
    "method": {
      "country": "TH",
      "instructed_currency": "THB",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/558SKtUcdGQ",
      "uetr": "5f77714d-596c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "network_id": "209323283934",
      "batch_id": "771084801",
      "bill_id_1": "554488779934",
      "type": "debit",
      "purpose": "CASH",
      "value_date": "2022-09-13",
      "instructed_amount": 402.98
    }
  }
]
```

**SDK Code**

```python Proxy-Transaction-Get
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Proxy-Transaction-Get
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Proxy-Transaction-Get
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Proxy-Transaction-Get
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Proxy-Transaction-Get
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Proxy-Transaction-Get
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Proxy-Transaction-Get
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Proxy-Transaction-Get
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA IDP Pending

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "PDNG",
        "description": "Pending"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "credit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python SEPA IDP Pending
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA IDP Pending
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA IDP Pending
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA IDP Pending
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA IDP Pending
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA IDP Pending
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA IDP Pending
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA IDP Pending
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA IDP Completed

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "credit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python SEPA IDP Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA IDP Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA IDP Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA IDP Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA IDP Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA IDP Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA IDP Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA IDP Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "debit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      },
      "reasons": [
        {
          "code": "AM02",
          "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 1,000,000.00"
        }
      ]
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python SEPA Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "debit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python SEPA Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN NEFT Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "NEFT",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "network_id": "NET123456",
      "local_reference": "LOCAL123456",
      "reference": "REF123456",
      "type": "credit",
      "purpose": "OTHR",
      "value_date": "2025-07-08",
      "instructed_amount": 300.03,
      "settlement_currency": "INR",
      "settlement_amount": 300.03
    },
    "reasons": [
      {
        "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  },
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "NEFT",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGD",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "network_id": "NET123456",
      "local_reference": "LOCAL123456",
      "reference": "REF123456",
      "type": "credit",
      "purpose": "OTHR",
      "value_date": "2025-07-08",
      "instructed_amount": 301.03,
      "settlement_currency": "INR",
      "settlement_amount": 301.03
    },
    "reasons": [
      {
        "description": "Citi validated and commercially completed the transaction. Account posting may be pending."
      }
    ],
    "status": {
      "code": "ACCC",
      "date_time": "2023-05-23T08:23:49.230Z",
      "description": "Completed"
    }
  }
]
```

**SDK Code**

```python IN NEFT Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN NEFT Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN NEFT Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN NEFT Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN NEFT Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN NEFT Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN NEFT Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN NEFT Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN NEFT Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "NEFT",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "network_id": "NET123456",
      "local_reference": "LOCAL123456",
      "reference": "REF123456",
      "type": "credit",
      "purpose": "OTHR",
      "value_date": "2025-07-08",
      "instructed_amount": 300.03,
      "settlement_currency": "INR",
      "settlement_amount": 300.03
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  },
  {
    "debtor": {
      "account": "520993444",
      "name": "Chris Topher",
      "bank_id": "CITI0000027"
    },
    "creditor": {
      "account": "7788993038",
      "name": "John Len",
      "bank_id": "IDIB000A025"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "NEFT",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGD",
      "uetr": "5d09214d-296c-494b-8e9c-810bf1d9fc66",
      "creation_date_time": "2023-05-23T08:23:49.227Z",
      "status": {},
      "network_id": "NET123456",
      "local_reference": "LOCAL123456",
      "reference": "REF123456",
      "type": "credit",
      "purpose": "OTHR",
      "value_date": "2025-07-08",
      "instructed_amount": 301.03,
      "settlement_currency": "INR",
      "settlement_amount": 301.03
    },
    "reasons": [
      {
        "code": "AM02",
        "description": "Transaction instructed amount is not ≥ 0.01 & ≤ 2,000,000.00"
      }
    ],
    "status": {
      "code": "RJCT",
      "date_time": "2022-09-13T08:23:56.665Z",
      "description": "Rejected"
    }
  }
]
```

**SDK Code**

```python IN NEFT Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN NEFT Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN NEFT Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN NEFT Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN NEFT Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN NEFT Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN NEFT Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN NEFT Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN IMPS Get Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "7852775432",
      "name": "JOHN",
      "street_name": "Paul",
      "building_number": "123",
      "postal_code": "123456",
      "city": "Mumbai",
      "state": "Maharashtra",
      "bank_id": "561223"
    },
    "creditor": {
      "account": "7852775432",
      "name": "JOHN",
      "street_name": "Paul",
      "building_number": "123",
      "postal_code": "123456",
      "city": "Mumbai",
      "state": "Maharashtra",
      "country": "IN",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT",
      "network": "IMPS"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "local_reference": "7634an78543",
      "value_date": "2022-09-13",
      "instructed_amount": 404.01,
      "settlement_currency": "INR",
      "settlement_amount": 404.01,
      "netwrok_id": "123456"
    }
  }
]
```

**SDK Code**

```python IN IMPS Get Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN IMPS Get Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN IMPS Get Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN IMPS Get Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN IMPS Get Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN IMPS Get Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN IMPS Get Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN IMPS Get Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### IN IMPS Get Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "7852775432",
      "name": "JOHN",
      "street_name": "Paul",
      "building_number": "123",
      "postal_code": "123456",
      "city": "Mumbai",
      "state": "Maharashtra",
      "bank_id": "561223"
    },
    "creditor": {
      "account": "7852775432",
      "name": "JOHN",
      "street_name": "Paul",
      "building_number": "123",
      "postal_code": "123456",
      "city": "Mumbai",
      "state": "Maharashtra",
      "country": "IN",
      "bank_id": "561223"
    },
    "method": {
      "country": "IN",
      "instructed_currency": "INR",
      "method": "IMPS",
      "type": "CT",
      "network": "IMPS"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcdGQ",
      "uetr": "4f09214d-296c-494b-8e9c-810bf1d9fc93",
      "creation_date_time": "2022-09-13T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.223Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "local_reference": "7634an78543",
      "value_date": "2022-09-13",
      "instructed_amount": 404.01,
      "settlement_currency": "INR",
      "settlement_amount": 404.01,
      "reasons": [
        {
          "code": "NARR",
          "description": "SUSPECTED FRAUD"
        }
      ],
      "netwrok_id": "123456"
    }
  }
]
```

**SDK Code**

```python IN IMPS Get Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript IN IMPS Get Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go IN IMPS Get Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby IN IMPS Get Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java IN IMPS Get Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php IN IMPS Get Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp IN IMPS Get Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift IN IMPS Get Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA VoP Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California",
      "resolved_name": "Hans Qwiss"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "debit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    },
    "account_validation": {
      "uetr": "921a9445-97df-4118-9a55-68d14667656f",
      "status": {
        "date_time": "2024-09-10T08:23:49.112Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "account": {
        "number_validation": "MATCH",
        "name_validation": "MATCH"
      },
      "unstructured_remittance_info": [
        "Name -MATCH , Account -MATCH"
      ]
    }
  }
]
```

**SDK Code**

```python SEPA VoP Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA VoP Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA VoP Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA VoP Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA VoP Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA VoP Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA VoP Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA VoP Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### SEPA VoP Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "proxy_id": "a93d@gmail.com",
      "proxy_type": "EMAL",
      "account": "520993444",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "IE",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "anybic": "ABCDIE20",
      "lei": "ABCDIE20XXX",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "IE",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "anybic": "POLVIE20",
      "lei": "POLVIE20XXX",
      "issuer": "QRS pvt ltd",
      "birth_province": "California"
    },
    "method": {
      "country": "IE",
      "instructed_currency": "EUR",
      "method": "IP",
      "type": "CT",
      "network": "RT1"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "debit",
      "purpose": "PAYR",
      "settlement_currency": "EUR",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference_information_code": "RADM",
        "creditor_reference_issuer": "HYP pvt ltd",
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "IE",
      "anybic": "ABKLIE20",
      "lei": "ABKLIE20XXX",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "anybic": "ABCJIE20",
      "lei": "ABCJIE20XXX",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    },
    "account_validation": {
      "uetr": "921a9445-97df-4118-9a55-68d14667656f",
      "status": {
        "date_time": "2024-09-10T08:23:49.112Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "reasons": {
        "code": "AC01",
        "description": "Invalid Account Number"
      },
      "account": {
        "number_validation": "MISMATCH",
        "name_validation": "MISMATCH"
      },
      "unstructured_remittance_info": [
        "Name -MISMATCH , Account -MISMATCH"
      ]
    }
  }
]
```

**SDK Code**

```python SEPA VoP Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript SEPA VoP Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go SEPA VoP Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby SEPA VoP Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java SEPA VoP Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php SEPA VoP Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp SEPA VoP Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift SEPA VoP Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### AU Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "5589089",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "AU",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "bank_branch_id": "032",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "virtual_account": "hapen@okpraxis",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "AU",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "issuer": "QRS pvt ltd",
      "birth_province": "California",
      "bank_branch_id": "032"
    },
    "method": {
      "country": "AU",
      "instructed_currency": "AUD",
      "method": "IP",
      "type": "CT",
      "network": "NPP"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "ACCC",
        "description": "Completed"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "credit",
      "purpose": "PAYR",
      "settlement_currency": "AUD",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference": "More details"
      }
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "AU",
      "anybic": "ABKLIE20",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python AU Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript AU Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go AU Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby AU Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java AU Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php AU Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp AU Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift AU Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### AU Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "5589089",
      "name": "Chris Topher",
      "address_lines": [
        "ABC#GFD"
      ],
      "street_name": "123 street",
      "building_number": "67",
      "postal_code": "196278",
      "city": "Belfast",
      "state": "California",
      "country": "AU",
      "org_id": "HIDC3344",
      "bank_id": "CITI0000027",
      "bank_branch_id": "032",
      "department": "Loan",
      "sub_department": "Personal",
      "building_name": "Bird View",
      "floor": "3rd",
      "post_box": "Bhesil Dist",
      "room": "234",
      "town_location_name": "Belfast",
      "district_name": "Belfast",
      "issuer": "ABC pvt ltd"
    },
    "creditor": {
      "proxy_id": "qwerty@kmail",
      "proxy_type": "EMAL",
      "account": "5589076",
      "virtual_account": "hapen@okpraxis",
      "name": "Retin Sew",
      "address_lines": [
        "ABC#TEG"
      ],
      "street_name": "4th Street",
      "building_number": "29",
      "postal_code": "901223",
      "city": "New Ark",
      "state": "California",
      "country": "AU",
      "prvt_id": "HJK876",
      "bank_id": "TYEG6758",
      "department": "Mortgage",
      "sub_department": "Car",
      "building_name": "Antella",
      "floor": "9th",
      "post_box": "Calst",
      "room": "999",
      "town_location_name": "New Ark",
      "district_name": "New Ark",
      "issuer": "QRS pvt ltd",
      "birth_province": "California",
      "bank_branch_id": "032"
    },
    "method": {
      "country": "AU",
      "instructed_currency": "AUD",
      "method": "IP",
      "type": "CT",
      "network": "NPP"
    },
    "transaction": {
      "end_to_end_id": "r/434SKtUcd01",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2023-09-10T08:23:49.112Z",
      "status": {
        "date_time": "2022-09-13T08:23:56.665Z",
        "code": "RJCT",
        "description": "Rejected"
      },
      "instruction_id": "ABCDFGH123",
      "network_id": "EEEER3456",
      "type": "credit",
      "purpose": "PAYR",
      "settlement_currency": "AUD",
      "settlement_amount": 90.91,
      "unstructured_remittance_info": [
        "More details of transaction"
      ],
      "charges_paid_by": "SLEV",
      "interbank_settlement_date": "2024-09-10",
      "category_purpose": "YUOP",
      "acceptance_date_time": "2023-09-10T08:23:49.112Z",
      "regulatory_reporting": {
        "type": "More details here",
        "code": "NOC"
      },
      "structured_remittance_info": {
        "creditor_reference": "More details"
      },
      "reasons": [
        {
          "code": "RC08",
          "description": "Bank identification code is invalid."
        }
      ]
    },
    "ultimate_debtor": {
      "name": "Heri Tig",
      "birth_date": "1989-09-08",
      "birth_city": "New Jersey",
      "birth_country": "AU",
      "anybic": "ABKLIE20",
      "issuer": "JKL pvt ltd",
      "birth_province": "Cali"
    },
    "ultimate_creditor": {
      "name": "Karl Lewis",
      "org_id": "55879VB",
      "issuer": "VBH pvt ltd",
      "birth_province": "Cali"
    },
    "instructed_agent": {
      "bank_id": "TRHG1122"
    },
    "instructing_agent": {
      "bank_id": "GLRB7983"
    }
  }
]
```

**SDK Code**

```python AU Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript AU Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go AU Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby AU Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java AU Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php AU Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp AU Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift AU Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### MX DFT Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "12345678901",
      "bank_branch_id": "001"
    },
    "creditor": {
      "account": "900900981912345678",
      "name": "Carnage",
      "bank_id": "012",
      "account_type": "05"
    },
    "method": {
      "country": "MX",
      "instructed_currency": "MXN",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "CCAPI0603180692",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2025-11-11T08:23:49.112Z",
      "status": {
        "code": "ACCC",
        "description": "Completed"
      },
      "value_date": "2025-11-11",
      "instructed_amount": 100.51
    }
  }
]
```

**SDK Code**

```python MX DFT Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript MX DFT Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go MX DFT Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby MX DFT Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java MX DFT Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php MX DFT Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp MX DFT Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift MX DFT Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### MX DFT Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "12345678901",
      "bank_id": "CITIMXMM",
      "bank_branch_id": "001"
    },
    "creditor": {
      "account": "900900981912345678",
      "name": "Carnage",
      "bank_id": "012",
      "account_type": "05"
    },
    "method": {
      "country": "MX",
      "instructed_currency": "MXN",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "CCAPI0603180692",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2025-11-11T08:23:49.112Z",
      "status": {
        "code": "RJCT",
        "description": "Rejected"
      },
      "value_date": "2025-11-11",
      "instructed_amount": 100.51,
      "reasons": [
        {
          "code": "NARR",
          "description": "Invalid Account Number."
        }
      ]
    }
  }
]
```

**SDK Code**

```python MX DFT Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript MX DFT Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go MX DFT Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby MX DFT Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java MX DFT Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php MX DFT Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp MX DFT Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift MX DFT Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### MX BKT Status - Completed

**Response**

```json
[
  {
    "debtor": {
      "account": "12345678901",
      "bank_branch_id": "001"
    },
    "creditor": {
      "account": "900900981912345678",
      "name": "Carnage",
      "bank_id": "012",
      "account_type": "05"
    },
    "method": {
      "country": "MX",
      "instructed_currency": "MXN",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "CCAPI0603180692",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2025-11-11T08:23:49.112Z",
      "status": {
        "code": "ACCC",
        "description": "Completed"
      },
      "value_date": "2025-11-11",
      "instructed_amount": 100.51
    }
  }
]
```

**SDK Code**

```python MX BKT Status - Completed
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript MX BKT Status - Completed
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go MX BKT Status - Completed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby MX BKT Status - Completed
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java MX BKT Status - Completed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php MX BKT Status - Completed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp MX BKT Status - Completed
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift MX BKT Status - Completed
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### MX BKT Status - Rejected

**Response**

```json
[
  {
    "debtor": {
      "account": "12345678901",
      "bank_id": "CITIMXMM",
      "bank_branch_id": "001"
    },
    "creditor": {
      "account": "900900981912345678",
      "name": "Carnage",
      "bank_id": "012",
      "account_type": "05"
    },
    "method": {
      "country": "MX",
      "instructed_currency": "MXN",
      "method": "IP",
      "type": "CT"
    },
    "transaction": {
      "end_to_end_id": "CCAPI0603180692",
      "uetr": "921a9445-97df-4118-9a55-68d14667624c",
      "creation_date_time": "2025-11-11T08:23:49.112Z",
      "status": {
        "code": "RJCT",
        "description": "Rejected"
      },
      "value_date": "2025-11-11",
      "instructed_amount": 100.51,
      "reasons": [
        {
          "code": "NARR",
          "description": "Invalid Account Number."
        }
      ]
    }
  }
]
```

**SDK Code**

```python MX BKT Status - Rejected
import requests

url = "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments"

querystring = {"batch_id":"492084893","client_id":"6d3cf821-db6d-496d-bec0-064a362e9c31","creation_date_time_end":"2022-09-13T08:23:49.554Z","creation_date_time_start":"2022-09-13T08:23:49.114Z","creditor_account_last4":"0783","debtor_account_last4":"6373","end_to_end_id":"1L00IF2BCWUZF09","instructed_amount":"73945.27","network_id":"209323283934","settlement_amount":"50000.23","status_code":"ACCC","status_date_time_end":"2022-09-13T08:23:49.331Z","status_date_time_start":"2022-09-13T08:23:49.224Z"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript MX BKT Status - Rejected
const url = 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go MX BKT Status - Rejected
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby MX BKT Status - Rejected
require 'uri'
require 'net/http'

url = URI("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java MX BKT Status - Rejected
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php MX BKT Status - Rejected
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp MX BKT Status - Rejected
using RestSharp;

var client = new RestClient("https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift MX BKT Status - Rejected
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://b2b.api.icg.citi.com/citiconnect/prod/paymentservices/v1/payments?batch_id=492084893&client_id=6d3cf821-db6d-496d-bec0-064a362e9c31&creation_date_time_end=2022-09-13T08%3A23%3A49.554Z&creation_date_time_start=2022-09-13T08%3A23%3A49.114Z&creditor_account_last4=0783&debtor_account_last4=6373&end_to_end_id=1L00IF2BCWUZF09&instructed_amount=73945.27&network_id=209323283934&settlement_amount=50000.23&status_code=ACCC&status_date_time_end=2022-09-13T08%3A23%3A49.331Z&status_date_time_start=2022-09-13T08%3A23%3A49.224Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```