Skip to main content
POST
Creates a payment. This is where most implementations start.

Authorizations

x-digest-key
string
header
required

Your public API key

Headers

x-digest-timestamp
string
required

Current Unix timestamp

x-digest-key
string
required

Your public api key

x-digest-signature
string
required

Digest Auth Signature

Idempotency-Key
string

Optional. A unique string (max 255 chars) that makes payment creation idempotent: replaying a request with the same key returns the original response instead of creating a duplicate payment.

Maximum string length: 255

Body

application/json
amount
object
required

The amount to be charged, expressed in the smallest unit of the currency (e.g., cents for USD).

Example:
description
string
required

A description of the payment. This will be displayed to the customer.

Example:

"Payment for order 12345"

redirectUrl
string

URL to redirect the customer after a successful payment. Optional: omit it for a payment link — the customer then sees an Ebioro-hosted confirmation screen.

Example:

"https://example.com/redirect"

name
string

The name of your store, shown to the customer during payment. Defaults to the merchant name if not provided.

Example:

"Example Store"

cancelUrl
string

URL where the customer is redirected if they cancel the payment. Defaults to redirectUrl if not provided.

Example:

"https://example.com/cancel"

webhookUrl
string

Server URL to receive payment status updates via webhook.

Example:

"https://example.com/webhook"

locale
string

Locale setting for the payment page, used to preset the language shown to the customer. Supported locales include [en, es].

Example:

"en"

metadata
object

Custom metadata to be associated with the payment. This can be any structured data relevant to the payment.

Example:
partnerId
string

For integrations done via an ebioro partner

Example:

"4cfad08e-1b41-4283-b4cc-f916cd4beba0"

escrowPayee
string

Stellar address of the fund recipient for escrow payments. Use this when the payee is a different party from the merchant — i.e., the driver in a ride-hailing app (Uber), the host in a rental platform (Airbnb), or the freelancer in a services marketplace (Upwork). If omitted, defaults to the merchant's Stellar account (common for remittances and POS use cases). Only applicable for merchants with settlement_mode = escrow.

Example:

"GBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

escrowPlatformFee
integer

Platform fee in basis points (1% = 100 bps) to be deducted from the escrowed amount at release time. If omitted, defaults to the merchant's configured platform fee. Only applicable for merchants with settlement_mode = escrow.

Example:

500

expiresInHours
number

Number of hours until this payment expires. If omitted, defaults to 30 minutes (suitable for a checkout). Set a longer window (e.g. 168 = 7 days) for a payment link shared with a payer.

Example:

168

storeId
string

Optional store identifier for merchants operating multiple stores. Returned on the payment and usable as a filter on GET /payments.

Example:

"store_8821"

escrowExpiresAt
string<date-time>

Expiration time for the escrow order (ISO 8601). Defaults to 7 days from payment creation. Only applicable for merchants with settlement_mode = escrow.

Example:

"2026-12-31T23:59:59Z"

Response

On success the endpoint will return a JSON object with detailed payment information.

id
string
createdAt
string
updatedAt
string
expiresAt
string
mode
string
amount
object
description
string
status
string
settlement_status
string
redirectUrl
string
checkout_id
string
webhookUrl
string
hostedUrl
string
qrCode
string
merchantName
string
cancelUrl
string
locale
string
metadata
object
stellarTxId
string
settlement_stellarTxId
string
settlement_currency
string
settlement_amount
number
settlement_fee
number
amount_paid
number
history
object[]
sender_account
string
asset_id
string
refunded
boolean
type
string
partner_id
string
escrow_status
string

Current escrow status. Only present for merchants with settlement_mode = escrow. Possible values: created, funded, failed.

escrow_order_id
string

The on-chain escrow order ID. Only present for merchants with settlement_mode = escrow.

escrow_contract_address
string

The Soroban escrow contract address. Only present for merchants with settlement_mode = escrow.

escrow_platform_fee_bps
integer

Platform fee in basis points (1% = 100 bps) to be deducted at release time. Only present for merchants with settlement_mode = escrow.