# Get payment by notification token Complete payment information. Data with which it was created and the current status of the payment. It is obtained from the notification_token that Khipu sends on conciliation. Endpoint: GET /2.0/payments Version: v2.0 Security: ## Query parameters: - `notification_token` (string, required) Notification token from the notification API 1.3. ## Response 200 fields (application/json): - `amount` (number, required) The amount of the charge. Example: 1000 - `app_url` (string, required) URL to invoke payment from a mobile device using the Khipu APP. Example: "khipu:///pos/gqzdy6chjne9" - `attachment_urls` (array, required) Array of URLs of files attached to the payment. Example: ["https://micomercio.com/attachment1.pdf"] - `bank` (string, required) Name of the bank selected by the payer. Example: "Banco de Chile (Edwards Citi)" - `bank_account_number` (string, required) Payer's bank account number. Example: "001120490689" - `bank_id` (string, required) Identifier of the bank selected by the payer. Example: "dfFbF" - `body` (string, required) Payment details. Example: "Test" - `cancel_url` (string, required) URL where the payer is redirected after they give up making the payment. Example: "https://micomercio.com/order/cancel_url" - `currency` (string, required) The currency code in ISO-4217 format. Example: "CLP" - `custom` (string, required) Generic field assigned by the merchant at the time of making the payment. Example: "..." - `discount` (number, required) Amount to be deducted from the value paid. - `expires_date` (string, required) Maximum date to execute the payment (in ISO-8601 format). The client may make several payment attempts until said date. Each attempt has an individual period of 3 hours for its execution. Example: "2023-12-31T15:45:00-04:00" - `funds_source` (string, required) Source of funds used by the payer, it can be for payment with debit, for payment with prepaid, for payment with credit, or empty in case it has been paid by bank transfer. Enum: "debit", "prepaid", "credit", "", "not-available" - `notification_token` (string, required) String of alphanumeric characters that uniquely identify the payment, it is the identifier that the Khipu server will send to the merchant server when notifying that a payment is reconciled. Example: "9dec8aa176c5223026919b3b5579a4776923e646ff3be686b9e6b62ec042e91f" - `notify_api_version` (string, required) Notification API version. Example: "3.0" - `notify_url` (string, required) URL of the webservice where the payment will be notified. Example: "https://micomercio.com/webhook/notify_url" - `out_of_date_conciliation` (boolean, required) It is if the payment reconciliation was made after the expiration date. Example: true - `payer_email` (string, required) Payer email. Example: "pagador@email.com" - `payer_name` (string, required) Payer's name. Example: "Nombre Pagador" - `payment_id` (string, required) Unique identifier of the payment, it is a 12-character alphanumeric string. Because this identifier is unique, it can be used, for example, to avoid processing a repeated notification. (Khipu waits for a code 200 when notifying a payment, if this does not occur it retries for up to two days). Example: "gqzdy6chjne9" - `payment_method` (string, required) Payment method used by the payer, it can be or . Enum: "regular_transfer", "simplified_transfer", "not_available" - `payment_url` (string, required) Main payment URL, if the user has not previously chosen a payment method, the options are shown. Example: "https://khipu.com/payment/info/gqzdy6chjne9" - `personal_identifier` (string, required) Personal identifier of the payer. Example: "11.000.111-9" - `picture_url` (string, required) URL with image of the payment. Example: "https://micomercio.com/picture_url" - `ready_for_terminal` (boolean, required) It is if the payment already has all the necessary data to directly open the Khipu payment application. - `receipt_url` (string, required) URL of the payment receipt. Example: "https://micomercio.com/order/receipt_url" - `receiver_id` (integer, required) Unique identifier of a collection account. Example: 985101 - `responsible_user_email` (string, required) Email of the person responsible for the payment. Example: "responsible@email.com" - `return_url` (string, required) URL where the payer is redirected after the payment is completed. Example: "https://micomercio.com/order/return_url" - `send_email` (boolean, required) It is when Khipu will send the payment by email. Example: true - `send_reminders` (boolean, required) It is when this is an email collection and Khipu will send reminders. Example: true - `simplified_transfer_url` (string, required) Simplified payment URL. Example: "https://app.khipu.com/payment/simplified/gqzdy6chjne9" - `status` (string, required) Payment status, it can be (the payer has not yet started paying), (the payment is being verified) or , when the payment is already confirmed. Enum: "pending", "verifying", "done" - `status_detail` (string, required) Detail of the payment status: (the payer has not yet started paying), (the payment was verified and was canceled by some standard payment method), (the merchant marked the charge as paid), (the payer declared that they will not pay), (the payer declared that they will not pay and that the charge was unsolicited), and (the payment was canceled by the merchant, the money was returned to the payer). Enum: "pending", "normal", "marked-paid-by-receiver", "rejected-by-payer", "marked-as-abuse", "reversed" - `subject` (string, required) Text to summarize the charge. Example: "Test" - `third_party_authorization_details` (string, required) Disregard this field. - `transaction_id` (string, required) Payment identifier assigned by the merchant. Example: "zwo3wqz6uulcvajt" - `transfer_url` (string, required) Normal payment URL. Example: "https://khipu.com/payment/manual/gqzdy6chjne9" - `conciliation_date` (string) Date and time of payment reconciliation. ISO-8601 format. Example: "2017-03-01T13:00:00Z"