GET
/
consumers
/
{consumer_id}
/
payment
/
payments
/
{payment_id}
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/payment/payments/{payment_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "source_ref": {
    "id": "<string>",
    "model": "<string>"
  },
  "status": "pending",
  "description": "<string>",
  "amount": 123,
  "currency": "<string>",
  "payment_date": "2023-11-07T05:31:56Z",
  "partner_id": "<string>"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required
payment_id
string
required

Response

200
application/json
Successful Response
id
string
required

Technical id in Chift

source_ref
object
required

Technical id in the target software

status
enum<string>
required

Payment status

Available options:
pending,
completed,
canceled,
failed,
unknown,
authorized
description
string
required

Description

amount
number
required

Amount

currency
string
required

Currency

payment_date
string
required

Date of creation

partner_id
string
required

Partner ID