POST
/
payment

Headers

LAM-API-KEY
string
required

A unique key to authenticate your API requests

Body

application/json
account_number
string
required

Account number associated with the user for whom the payment is being made. It is essential for identifying the account to be credited

invoice_number
string
required

Invoice number that identifies the specific transaction for payment. It links the payment to a precise invoice

product
enum<string>
required
Available options:
SENEAU,
SENELEC,
WOYOFAL
country
string
required

ISO 3166-1 alpha-2 code representing the country where the payment is being made

amount
integer
required

Payment amount to be made, expressed in the local currency XOF. It must be positive

callback_url
string

To receive real-time transaction status notifications, you must provide the callback_url parameter at the time of payment. This endpoint allows you to specify a URL where notifications will be sent when the status of the transaction changes. If no URL is provided, no call will be made.

Response

200 - application/json
account_number
string
product
enum<string>

Indicates the product or service for which the payment is being made

Available options:
SENEAU,
SENELEC,
WOYOFAL
country
string

ISO 3166-1 alpha-2 code representing the country where the payment is being made

amount
integer

Payment amount to be made, expressed in the local currency XOF. It must be positive

fees
integer
total
integer
transaction_id
string

Unique identifier for the transaction, generated to track and reference the payment

status
boolean
created_at
string