# Instant Payment API Fully RESTful payment API. Version: v2.0 License: Instant Payments API ## Servers Production ``` https://khipu.com/api ``` ## Security ### Api-Key Type: apiKey In: header Name: x-api-key ## Download OpenAPI description [Instant Payment API](https://docs.khipu.com/_spec/@l10n/en/apis/v2/instant-payments/openapi.yaml) ## Other ### Get banks - [GET /2.0/banks](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/getbanks.md): This method obtains the list of banks that can be used to pay in this collection account. ### Confirm payment by Id - [POST /2.0/payments/{id}/confirm](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/postpaymentconfirmbyid.md): Warning: This feature is only available to customers who have contracted it independently. To use it, please contact us at soporte@khipu.com Confirm payment. Upon confirming payment, the funds will be delivered to the merchant the next business day. ### Get payment by Id - [GET /2.0/payments/{id}](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/getpaymentbyid.md): This method obtains the complete payment information. Includes the current status of the payment. ### Delete payment by Id - [DELETE /2.0/payments/{id}](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/deletepaymentbyid.md): Delete a payment. Only applicable to payments with status . ### Get payment by notification token - [GET /2.0/payments](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/postpaymentbytoken.md): 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. ### Create payment - [POST /2.0/payments](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/postpayment.md): Create a payment in Khipu and obtain the URLs to redirect the user to complete the payment. ### Refund payment by Id - [POST /2.0/payments/{id}/refunds](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/postpaymentrefundsbyid.md): Refunds all or part of the amount of a payment. This operation can only be carried out in businesses that collect in a Khipu account and before the corresponding funds are delivered. ### Post receiver - [POST /2.0/receivers](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/postreceiver.md): Warning: This feature is only available to customers who have contracted it independently. To use it, please contact us at soporte@khipu.com Create a new collection account associated with an integrator. ### Get payment methods - [GET /2.0/merchants/{id}/paymentMethods](https://docs.khipu.com/en/apis/v2/instant-payments/openapi/other/getmerchantpaymentmethodsbyid.md): Lists available payment methods for a given collection account.