Skip to content

Retrieve

Get payment by token
get/v1/payments/{payment_token}

Get the payment by token.

Path Parameters
payment_tokenstring
formatuuid
Returns
tokenstringcategoryenumcreatedstringcurrencystringdescriptorstringdirectionenumeventsarray of objectexternal_bank_account_tokenstringfinancial_account_tokenstringmethodenummethod_attributesobjectpending_amountnumberresultenumsettled_amountnumbersourceenumstatusenumupdatedstringuser_defined_idstringexpected_release_datestringPayment
Request example Request
curl https://api.lithic.com/v1/payments/$PAYMENT_TOKEN \
    -H "Authorization: $LITHIC_API_KEY"
200 Example
{
  "token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "category": "ACH",
  "created": "2019-12-27T18:11:19.117Z",
  "currency": "currency",
  "descriptor": "descriptor",
  "direction": "CREDIT",
  "events": [
    {
      "token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "amount": 0,
      "created": "2019-12-27T18:11:19.117Z",
      "result": "APPROVED",
      "type": "ACH_ORIGINATION_CANCELLED",
      "detailed_results": [
        "APPROVED"
      ]
    }
  ],
  "external_bank_account_token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "financial_account_token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "method": "ACH_NEXT_DAY",
  "method_attributes": {
    "company_id": "company_id",
    "receipt_routing_number": "receipt_routing_number",
    "retries": 0,
    "return_reason_code": "return_reason_code",
    "sec_code": "CCD",
    "trace_numbers": [
      "string"
    ],
    "addenda": "addenda"
  },
  "pending_amount": 0,
  "result": "APPROVED",
  "settled_amount": 0,
  "source": "CUSTOMER",
  "status": "DECLINED",
  "updated": "2019-12-27T18:11:19.117Z",
  "user_defined_id": "user_defined_id",
  "expected_release_date": "2019-12-27"
}