---
title: "Opay Charge"
method: POST
path: "/api/b2b/fiat/deposit/opay"
---

# Opay Charge

`POST /api/b2b/fiat/deposit/opay`

## Request

- Base URL: `https://api-v2.honeycoin.app`
- URL: `https://api-v2.honeycoin.app/api/b2b/fiat/deposit/opay`
- Auth: API key in header `Authorization`

Accept payments via OPay. Charges are processed asynchronously; some transactions require a redirect to complete authentication before funds are captured.

## Request body

- object
  - `amount` number, float, required
  - `currency` string: 3-letter currency code. Defaults to NGN.
  - `email` string: Customer's email address.
  - `externalReference` string, required: A unique ID of your liking to reconcile transactions internally.
  - `successRedirectUrl` string: The redirect url for a successful transaction
  - `failureRedirectUrl` string: The redirect url for a failed transaction

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `transactionId` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official.md) - [All operations](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official/llms.txt) - [OpenAPI document](https://skmtc.dev/honeycoin/apis/honeycoin-v3-api-official/revisions/fcb58b0ef441?raw)
