Paddle

Validate Paddle purchase

Changed on

Validates a purchase using the provided Paddle token using the credentials of Paddle in your App Settings inside Adapty Dashboard. If the purchase is valid, the transaction history is imported from Paddle to the profile in Adapty with the specified customer_user_id. If there was no profile with this customer_user_id before — it will be created.

post/api/v2/server-side-api/purchase/paddle/token/validate/

Request

  • Base URL
    https://api.adapty.io
  • URL
    https://api.adapty.io/api/v2/server-side-api/purchase/paddle/token/validate/
  • Auth
    API key in header Authorization

Request body

customer_user_idstring required

The ID of your user in your system

paddle_tokenstring required

Token of a Paddle object that represents a unique purchase. Could be either a transaction id (txn_...) or a subscription id (sub_...)

Response

Purchase validated successfully

Changes

    • info

      added the optional property /// to the response with the status