post https://inapp.api.sandbox.cleeng.com/storekit2/purchases/transfers
Use this endpoint to transfer an existing active purchase from one user to another. This allows re-assigning access to a subscription or in-app purchase.
The transfer process is asynchronous. Upon successful registration, the API will return a 202
Accepted
status with a unique synchronizationId
in the response body.
Note: Only active purchases can be transferred.
Please note that this endpoint can be authorized with a publisher (X-Publisher-Token) or JWT (Bearer) token. Depending on how you integrate with Cleeng (directly or through middleware), use either a JWT or X-Publisher-Token header authorization.
Please use JWT (Bearer) token to try out the endpoint in the API console in this documentation.
Errors
HTTP Status Code | Error Code | Message |
---|---|---|
400 | REQ0001 | Invalid body |
400 | REQ0004 | Invalid headers |
409 | SK2C0103 | The resource is temporarily locked due to a concurrent request. |
409 | SK2C0104 | The resource is temporarily locked due to a concurrent request. |
422 | SK2C0005 | The migration is in progress. |
422 | SK2C0100 | Unable to find customer |
500 | SK2C0004 | StoreKit2 integration not activated |
500 | SXXXX (X - number) | Internal Server Error |