Payments

Get multi-leg payment status (deprecated)

Enables users to query the processing status of a multi-leg payment.

get/corporate/v2/payments/multileg/{trackingId}

Request

  • Base URL
    https://sandbox.pismolabs.io
  • URL
    https://sandbox.pismolabs.io/corporate/v2/payments/multileg/{trackingId}
  • Auth
    HTTP bearer

Path parameters

trackingIdstring required

Original tracking ID provided when the ID is created.

Response

Get multi-leg payment status

tracking_idstring

A unique payment tracking number provided by the client. If an existing tracking_id is found on the Pismo platform, the API returns a 409 error.

This field is:

  • Unique within the organization
  • Immutable: It can't be updated
  • Not recyclable: You can't reuse a tracking_id
status'CREATING' | 'EXECUTING' | 'DEBITS_EXECUTED' | 'CREDITS_FAILED' | 'FINISHED' | 'ROLLING_BACK' | 'ROLLED_BACK' | 'ROLLBACK_FAILED' | 'TIMED_OUT'

Status of the multi-leg processing.

Example response

{
  "tracking_id": "0a50c88a-ade8-4bcc-a639-9a0b0f11e244",
  "status": "CREATING",
  "debits": [
    {
      "tracking_id": "0a50c88a-ade8-4bcc-a639-9a0b0f11e244",
      "external_account_id": "289",
      "status": "PENDING"
    }
  ],
  "credits": [
    {
      "tracking_id": "0a50c88a-ade8-4bcc-a639-9a0b0f11e244",
      "external_account_id": "289",
      "status": "PENDING"
    }
  ]
}

Changes

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