Complete Transfer

Introduction

Complete transfer is initiated through HTTPS POST request by using URLs and the parameters.

API URLs

Integration

Production

https://sandbox.gitpay.tech/paynet/dapi/v1/transfer/{endpointId}/{invoiceId}/{assignedId}

https://gate.gitpay.tech/paynet/dapi/v1/transfer/{endpointId}/{invoiceId}/{assignedId}

Request Parameters

Parameter Name

Description

Value

session

Type: Object

session.accessToken

The session access token of transfer transaction.

Type: String

session.token

The session token of transfer transaction.

Type: String

Success Response Parameters

Parameter Name

Description

Value

invoiceId

Transfer transaction identifier.

Type: String

session

Type: Object

session.token

The session token of transfer transaction.

Type: String

Fail Response Parameters

Parameter Name

Description

Value

error


Type: Object

error.cause

Cause of the error. Possible values: INVALID_REQUEST, INVALID_CONFIGURATION, INTERNAL_ERROR, PROCESSING_FAILED.

Type: Enum

error.code

The unique error code.

Type: String

error.message

Description of the error.

Type: String

invoiceId

Transfer transaction identifier.

Type: String

Request Example

{
  "session": {
    "accessToken": "string",
    "token": "string"
  }
}

Success Response Example

{
  "invoiceId": "string",
  "session": {
    "token": "string"
  }
}

Fail Response Example

{
  "error": {
    "cause": "enum",
    "code": "string",
    "message": "string"
  },
  "invoiceId": "string"
}