This method obtains the complete payment information. Includes the current status of the payment.
SecurityApi-Key
Request
path Parameters
id
required
string <= 255 characters
Payment identifier
Responses
200
Successful operation. Returns a JSON object with the payment information.
Response Schema: application/json
payment_id
required
string
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_url
required
string
Main payment URL, if the user has not previously chosen a payment method, the options are shown.
URL to invoke payment from a mobile device using the Khipu APP.
Example: "khipu:///pos/gqzdy6chjne9"
ready_for_terminal
required
boolean
It is true if the payment already has all the necessary data to directly open the Khipu payment application.
Example: false
notification_token
required
string
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.
Date and time of payment reconciliation. ISO-8601 format.
Example: "2017-03-01T13:00:00.000Z"
subject
required
string
Text to summarize the charge.
Example: "Test"
amount
required
number <double>
The amount of the charge.
Example: 1000
currency
required
string
The currency code in ISO-4217 format.
Example: "CLP"
status
required
string
Payment status, it can be pending (the payer has not yet started paying), verifying (the payment is being verified) or done, when the payment is already confirmed.
Enum:"pending""verifying""done"
Example: "done"
status_detail
required
string
Detail of the payment status:
pending (the payer has not yet started paying),
normal (the payment was verified and was canceled by some standard payment method),
marked-paid-by-receiver (the merchant marked the charge as paid),
rejected-by-payer (the payer declared that they will not pay),
marked-as-abuse (the payer declared that they will not pay and that the charge was unsolicited), and
reversed (the payment was canceled by the merchant, the money was returned to the payer).
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.
Source of funds used by the payer, it can be debit for payment with debit, prepaid for payment with prepaid, credit for payment with credit, or empty in case it has been paid by bank transfer.