Requests

Get Request Status

This API is applicable for asynchronous requests submitted to make_payment through tnq.api.assemblypay.com. It returns the item response if available or current status otherwise.

get/request/{request_id}/status

Request

  • Base URL
    https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-async-api/1.0.0
  • URL
    https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-async-api/1.0.0/request/{request_id}/status
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://au-0000.sandbox.auth.assemblypay.com/tokens

Path parameters

request_idstring UUID required

Assembly-generated unique ID for this request.

Response

Item response received from internal systems. Note that the HTTP response code will reflect the internal system response.

Example response

{
  "items": {
    "id": "100fd4a0-0538-11e6-b512-3e1d05defe78",
    "name": "Landscaping Job #001",
    "description": "Planting of natives, removal of tree stump.",
    "state": "pending",
    "status": 22000,
    "amount": 20000,
    "payment_type_id": 2,
    "currency": "AUD",
    "buyer_name": "Bella Buyer",
    "buyer_email": "bella.buyer@assemblypayments.com",
    "buyer_country": "AUS",
    "seller_name": "Samuel Seller",
    "seller_email": "samuel.seller@assemblypayments.com",
    "seller_country": "AUS",
    "tds_check_state": "NA",
    "net_amount": 20000,
    "seller_fees": 400,
    "promisepay_fee": 350,
    "total_outstanding": 20000,
    "total_amount": 20000,
    "payment_method": "pending",
    "payment_credit_card_enabled": true,
    "payment_direct_debit_enabled": true,
    "related": {
      "buyers": "064d6800-fff3-11e5-86aa-5e5517507c66",
      "sellers": "5830def0-ffe8-11e5-86aa-5e5517507c66"
    }
  }
}

Changes

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