Skip to main content
GET
Retrieve a payment

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Path Parameters

id
string
required

The object id, as the API returned it.

Response

The payment, with its customer, link, subscription and metadata.

A settled payment. Its id is the settlement id (UUID).

object
any
required
id
string<uuid>
required
checkout_session
string | null
required
amount
integer
required
currency
string
required
status
enum<string>
required
Available options:
paid,
refunded,
partially_refunded
refunded_cents
integer
required
created
string<date-time>
required
livemode
boolean
required
customer
string<uuid> | null

Only on retrieve.

Only on retrieve.

subscription_id
string | null

Only on retrieve.

payment_intent
string | null

Only on retrieve.

metadata
object

Only on retrieve.