Create Order
The **Create Order** is an **authenticated API** that places a **crypto buy order** using Google Pay, based on the `requestId` returned when the user submits their payment details via the [Transak UI SDK](/features/headless-google-pay#load-the-google-pay-component-via-transak-ui-sdk).
Headers
x-user-ip
End user’s originating IP. More details here
x-api-key
Your Partner API key. You can find this in the [Partner Dashboard](https://docs.transak.com/guides/how-to-create-partner-dashboard-account#open-the-developers-section).
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
Note: This is applicable only for Auth Reliance Flows
x-user-identifier
The authenticated user’s email address. Note: This is applicable only for Auth Reliance Flows.
Request
This endpoint expects an object.
requestId
Request ID returned in the onSuccess callback of the Transak UI SDK.
Response
Success
data
Order details returned after processing the Google Pay transaction session.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error