Skip to main content
POST
/
payments_history
Return successful payments of user
curl --request POST \
  --url https://billing.funnelfox.com/{org_id}/v1/payments_history \
  --header 'Content-Type: application/json' \
  --data '{
  "external_id": "<string>"
}'
{
  "payments": [
    {
      "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "subs_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "oneoff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "refunded": 123,
      "amount": 123,
      "currency": {
        "code": "<string>",
        "minor_units": 123,
        "title": "<string>",
        "symbol": "<string>"
      },
      "last4": "<string>",
      "network": "<string>",
      "payment_method": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Path Parameters

org_id
string
required

Organization ID

Body

application/json
external_id
string
required

Your unique identifier for the user

Maximum length: 256

Response

200 - application/json
payments
PaymentHistoryOut · object[]
required

List of payments