Checkout Sessions

Get payment from checkout session

Retrieves the paid payment from a checkout session by ID. This is a superuser-only endpoint.

get/v1/checkout_sessions/{id}/payment

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/checkout_sessions/{id}/payment
  • Auth
    HTTP basic

Path parameters

idstring required

Checkout session ID

Response

Payment retrieved successfully

has_moreboolean

Example response

{
  "data": {
    "attributes": {
      "status": "paid"
    }
  }
}

Changes

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