▶️
Solana Play
  • Intro
  • Getting Started with Moonshine Labs API
  • Solana Play Integration Guide for Unity3D
  • Platforms(Create, Read, Update, Delete)
  • Items(Create, Read, Update, Delete)
  • Status(Read)
  • Orders
Powered by GitBook
On this page

Status(Read)

1. Check Status

You will need to know how to check payment status for an order by its Id with, you will need to make a POST request to the /orders/status/{id} endpoint with your id. Make sure to fill in the required fields in the request body.

POST /api/solanaplay/orders/status/{id}

Request body:

{
  "id": "unique-status-id"
}

Response examples: You will receive response 200(success) :

{
  "confirmed": true,
  "message": "string",
  "txSignature": "string"
}

Or a default message error:

{
  "error": {
    "code": 0,
    "message": "error-message"
  }
}

If the order is confirmed, you will receive a confirmed: true value in the response, along with a message and transaction signature.. If in the event of an error a default message will occur.

PreviousItems(Create, Read, Update, Delete)NextOrders