Skip to main content
GET
/
payments
/
{id}
Get payment
curl --request GET \
  --url https://api.sprucecollective.co.uk/payments/{id} \
  --header 'Authorization: <api-key>'
{
  "amount_cents": 123,
  "created_at": "<string>",
  "currency": "<string>",
  "description": "<string>",
  "fraud_score": 123,
  "gateway": "<string>",
  "gateway_transaction_id": "<string>",
  "id": "<string>",
  "metadata": {},
  "payment_method": "<string>",
  "site_id": "<string>",
  "status": "<string>",
  "updated_at": "<string>",
  "user_id": "<string>",
  "webhook_received_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Path Parameters

id
string
required

Payment ID

Response

OK

amount_cents
integer
created_at
string
currency
string
description
string
fraud_score
number
gateway
string
gateway_transaction_id
string
id
string
metadata
object
payment_method
string
site_id
string
status
string
updated_at
string
user_id
string

Nullable for guest payments

webhook_received_at
string