---
title: "Do Payment"
method: POST
path: "/lending-service/api/v1/payments"
---

# Do Payment

`POST /lending-service/api/v1/payments`

## Request

- Base URL: `https://sandbox.interswitchng.com`
- URL: `https://sandbox.interswitchng.com/lending-service/api/v1/payments`
- Auth: none required

This endpoint is provided as a proxy for clients who will like to collect payments from a user using their payment token. The API will send a request for a debit of a specified amount through IPG.

## Headers

- `Authorization` string

## Request body

- object
  - `customerId` string, required: The Email or Mobile Number of the User. Max length: 50
  - `token` string, required: The Payment Token of the user generated by Vault. Max length: 20
  - `amount` string, required: The Amount to be debited from the user’s payment card. (This is in lower denomination KOBO). Max length: 20.
  - `providerCode` string, required: The Code of the Provider/Client from which the request is coming from. Max Length: 50
  - `currencyCode` string, required: The Code of the currency of the Amount to be debited. E.g 566. Max Length: 3
  - `transactionId` string, required: The unique transaction identifier. Max Length: 50
  - `tokenExpiryDate` string

## Response `200`

200

- object
  - `responseCode` string
  - `responseDescription` string
  - `transactionRef` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/interswitchgroup/apis/ipg.md) - [All operations](https://skmtc.dev/interswitchgroup/apis/ipg/llms.txt) - [OpenAPI document](https://skmtc.dev/interswitchgroup/apis/ipg/revisions/98dead048190?raw)
