List a customer authorised payments

To list a customer authorised payments, you use payment details resource and it will response with payment resource collection. Payments at Cleeng are a reference of the actual payment that happens at the payment gateway or in-app store.

get/payment_details/{paymentDetailsId}/authorised_payments

Request

  • Base URL
    https://api.sandbox.cleeng.com/3.1
  • URL
    https://api.sandbox.cleeng.com/3.1/payment_details/{paymentDetailsId}/authorised_payments
  • Auth
    API key in header X-Publisher-Token

Path parameters

paymentDetailsIdstring required

the identifier of Cleeng payment details connected to Cleeng customer

Headers

Content-Typestring

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "payments": [
    {
      "id": 345876987,
      "orderId": 435678987,
      "customerId": 234123321,
      "status": "authorised",
      "amount": 10,
      "totalAmount": 10,
      "currency": "USD",
      "country": "US",
      "paymentMethod": "card",
      "paymentGateway": "adyen",
      "offerType": "subscription",
      "offerId": "S123432543_US",
      "externalPaymentId": "external-payment-id",
      "couponId": 654654987
    }
  ],
  "message": "Payments data sent successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.