Reference · API Reference

Cards & Wallets API Endpoints

Details of API endpoints relating to Cards & Wallets.

Primary Transactions

Endpoints for creating primary payment, payout, and verification transactions for an installation

POST/acceptor/rest/transactions/{instId}/paymentProcess a payment#
description:

Creates a primary payment transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
request body:
shared schema advancedPayments/primary-manage-rest-request
{
  • sessionId
    stringYour reference for the Customer's session.
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

201Payment processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
207Payment declined
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/payoutProcess a payout#
description:

Creates a payout transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
request body:
shared schema advancedPayments/primary-manage-rest-request
{
  • sessionId
    stringYour reference for the Customer's session.
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

201Payout processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/verifyProcess a verification#
description:

Creates an account verification transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
request body:
shared schema advancedPayments/primary-manage-rest-request
{
  • sessionId
    stringYour reference for the Customer's session.
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

201Verification processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Secondary Transactions

Endpoints for managing secondary transaction actions (refund, repeat, capture, cancel, resume, add schedule) against a previously processed transaction

POST/acceptor/rest/transactions/{instId}/{transactionId}/addScheduleAdd a schedule#
description:

Adds a recurring payment schedule to a previously processed transaction

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the transaction the schedule is being added to
}
request body:
shared schema advancedPayments/schedule-definition-request
{
}

Responses

201Schedule added
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/cancelProcess a cancel#
description:

Cancels a previously processed transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being cancelled
}
request body:
shared schema advancedPayments/detailed-secondary-manage-rest-request
{
}

Responses

201Cancel processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/captureProcess a capture#
description:

Captures (completes) a previously authorised transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being captured
}
request body:
shared schema advancedPayments/detailed-secondary-manage-rest-request
{
}

Responses

201Capture processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/completeProcess a capture#
description:

Captures (completes) a previously authorised transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being captured
}
request body:
shared schema advancedPayments/detailed-secondary-manage-rest-request
{
}

Responses

201Capture processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/refundProcess a refund#
description:

Refunds a previously processed transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being refunded
}
request body:
shared schema advancedPayments/detailed-secondary-manage-rest-request
{
}

Responses

201Refund processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Refund rejected
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/repeatProcess a repeat#
description:

Repeats a previously processed transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being repeated
}
request body:
shared schema advancedPayments/detailed-secondary-manage-rest-request
{
}

Responses

201Repeat processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/transactions/{instId}/{transactionId}/resumeProcess a resume#
description:

Resumes a previously suspended transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the original transaction being resumed
}
request body:
shared schema advancedPayments/resume-secondary-manage-rest-request
{
}

Responses

201Resume processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
207Resumed transaction declined
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Hosted sessions

Endpoints for hosted-flow session lifecycle

POST/hosted/rest/sessions/{instId}/{sessionId}/invalidateInvalidate hosted session#
description:

Invalidates an existing hosted session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe ID of the installation the session was initialised on
  • sessionId
    stringMandatoryThe session ID
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200OK
response body:
shared schema advancedPayments/invalidate-hosted-session-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    stringReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
GET/hosted/rest/sessions/{instId}/{sessionId}/statusGet session status#
description:

Returns the current hosted session status.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe installation id
  • sessionId
    stringMandatoryThe session id
}

Responses

200OK
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
GET/hosted/rest/sessions/{instId}/{sessionId}/transactionGet session transaction#
description:

Returns the transaction associated with a hosted session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe ID of the installation the session was initialised on
  • sessionId
    stringMandatoryThe session ID
}

Responses

200OK
response body:
shared schema advancedPayments/transaction-resource
{
  • locale
    string (≤ 255 chars)
  • sessionId
    string (≤ 255 chars)
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/cardsInitialise card management session#
description:

Creates a hosted card management session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe ID of the installation the session is to be initialised on
}
request body:
shared schema advancedPayments/initialise-hosted-card-management-rest-request
{
  • locale
    string
}

Responses

201Created
response body:
shared schema advancedPayments/initialise-hosted-card-management-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/paymentsInitialise payment session#
description:

Creates a hosted payment session for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe installation id
}
request body:
shared schema advancedPayments/initialise-hosted-payment-rest-request
{
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

201Created
response body:
shared schema advancedPayments/initialise-hosted-payment-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/payoutsInitialise payout session#
description:

Creates a hosted payout session for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe installation id
}
request body:
shared schema advancedPayments/initialise-hosted-payout-rest-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
}

Responses

201Created
response body:
shared schema advancedPayments/initialise-hosted-payout-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation. Possible values: SUCCESS, FAILED.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/sessions/{sessionId}/resumeResume hosted session#
description:

Resumes an existing hosted session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe ID of the installation the session was initialised on
  • sessionId
    stringMandatoryThe session ID
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

201Created
response body:
shared schema advancedPayments/resume-hosted-session-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/validatePayoutValidate payout request#
description:

Validates a hosted payout request payload without creating a session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe installation ID
}
request body:
shared schema advancedPayments/initialise-hosted-payout-rest-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
}

Responses

200OK
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/{instId}/verifyInitialise verification session#
description:

Creates a hosted account verification session.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryThe ID of the installation the session is to be initialised on
}
request body:
shared schema advancedPayments/initialise-hosted-verification-rest-request
{
  • locale
    string
}

Responses

201Created
response body:
shared schema advancedPayments/initialise-hosted-verification-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
POST/hosted/rest/sessions/validatePaymentValidate payment request#
description:

Validates a hosted payment request payload without creating a session.

authorization:HTTP Basic
content-type: application/json
request body:
shared schema advancedPayments/initialise-hosted-payment-rest-request
{
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

200OK
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
403Forbidden
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}
404Not Found
response body:
shared schema advancedPayments/get-hosted-session-status-response
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGoutcome of session retrieval request, SUCCESS or FAILED.
  • reasonCode
    stringReturnedMachine-readable code for why the request could not be fulfilled.
  • reasonMessage
    stringReturnedmessage describing session retrieval error.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Internal Server Error
response body:
shared schema advancedPayments/hosted-initialisation-response
{
  • sessionId
    string (≤ 255 chars)Our ID for the hosted session.
  • redirectUrl
    stringThe URL you should direct your customer to to start the hosted session.
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGIndicates the status of the session creation.
  • reasonCode
    string (≤ 255 chars)Further information about the status of the session creation.
  • reasonMessage
    string (≤ 255 chars)Further information about the status of the session creation. This is where we will provide detailed information about any errors.
  • trace
    string
}

Retrieving Transactions

Endpoints for checking service availability and retrieving transaction details for an installation

GET/acceptor/rest/transactions/{instId}/{transactionId}Get a transaction#
description:

Retrieves a single transaction by its identifier for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryTransaction identifier
}

Responses

200Transaction retrieved
response body:
shared schema advancedPayments/transaction-resource
{
  • locale
    string (≤ 255 chars)
  • sessionId
    string (≤ 255 chars)
}
400Invalid installation or transaction identifier
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Transaction not found
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
GET/acceptor/rest/transactions/{instId}/byRefFind transactions by merchant reference#
description:

Retrieves transactions matching the supplied merchant reference for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
query parameters:
{
  • merchantRef
    stringMandatoryMerchant reference to search for
}

Responses

200Transactions retrieved
response body:
shared schema advancedPayments/transaction-resource
[ {
  • locale
    string (≤ 255 chars)
  • sessionId
    string (≤ 255 chars)
} ]
400Invalid installation identifier or merchant reference
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404No transactions found
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Retrieving Customers & Payment Methods

Endpoints for retrieving customers and managing their saved payment methods for an installation

GET/acceptor/rest/customers/{instId}/{customerId}Get a customer#
description:

Retrieves a customer by platform customer identifier for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
}

Responses

200Customer retrieved
response body:
shared schema advancedPayments/customer-resource
{
  • merchantRef
    string (≤ 255 chars)Your reference for the Customer.
  • id
    string (≤ 255 chars)Our ID for the Customer that is registered with us.
  • displayName
    string (≤ 255 chars)The Customer's name.
  • email
    string (≤ 255 chars)Email address for the Customer.
  • dob
    string (≤ 255 chars)Date of birth for the Customer.
  • dateOfBirth
    string (date)
  • telephone
    string (≤ 255 chars)Telephone number for the Customer.
  • defaultCurrency
    string (≤ 255 chars)The Customer's default currency.
}
400Invalid installation identifier or customer identifier
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Customer not found
response body:
shared schema advancedPayments/customer-resource
{
  • merchantRef
    string (≤ 255 chars)Your reference for the Customer.
  • id
    string (≤ 255 chars)Our ID for the Customer that is registered with us.
  • displayName
    string (≤ 255 chars)The Customer's name.
  • email
    string (≤ 255 chars)Email address for the Customer.
  • dob
    string (≤ 255 chars)Date of birth for the Customer.
  • dateOfBirth
    string (date)
  • telephone
    string (≤ 255 chars)Telephone number for the Customer.
  • defaultCurrency
    string (≤ 255 chars)The Customer's default currency.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/customers/{instId}/{customerId}/paymentMethod/{token}/makeDefaultMake a payment method default#
description:

Marks the specified saved payment method as the default for the customer and installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
  • token
    stringMandatorySaved payment method token
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Payment method marked as default
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
400Invalid installation, customer, or payment method token
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Payment method not found
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/customers/{instId}/{customerId}/paymentMethod/{token}/removeRemove a payment method#
description:

Removes the specified saved payment method for the customer and installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
  • token
    stringMandatorySaved payment method token
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Payment method removed
400Invalid installation, customer, or payment method token
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Payment method not found
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
GET/acceptor/rest/customers/{instId}/{customerId}/paymentMethodsList payment methods#
description:

Retrieves all saved payment methods for the specified customer and installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
}

Responses

200Payment methods retrieved
response body:
shared schema advancedPayments/payment-method-resource
[ {
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
} ]
400Invalid installation identifier or customer identifier
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Customer not found
response body:
shared schema advancedPayments/payment-method-resource
[ {
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
} ]
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
GET/acceptor/rest/customers/{instId}/{customerId}/paymentMethods/{token}Get a payment method#
description:

Retrieves a saved payment method for the specified customer, token, and installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
  • token
    stringMandatorySaved payment method token
}

Responses

200Payment method retrieved
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
400Invalid installation, customer, or payment method token
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Payment method not found
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/customers/{instId}/{customerId}/paymentMethods/{token}/updateUpdate a payment method#
description:

Updates the saved payment method details for the specified customer, token, and installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • customerId
    stringMandatoryPlatform customer identifier
  • token
    stringMandatorySaved payment method token
}
request body:
shared schema advancedPayments/payment-method-update
{
  • isPrimary
    booleanIndicates if the card being used should become the Customer's default card.
}

Responses

200Payment method updated
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
400Invalid installation, customer, token, or update request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Payment method not found
response body:
shared schema advancedPayments/payment-method-resource
{
  • paymentClass
    string (≤ 255 chars)ReturnedThe classification of payment method used. Eg. Card, Cash, PayPal.
  • isPrimary
    booleanIndicates if this was Customer's primary registered payment method.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
GET/acceptor/rest/customers/{instId}/byRefFind a customer by merchant reference#
description:

Retrieves a customer for the given installation using the supplied merchant reference

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
query parameters:
{
  • merchantRef
    stringMandatoryMerchant reference used to identify the customer
}

Responses

200Customer retrieved
response body:
shared schema advancedPayments/customer-resource
{
  • merchantRef
    string (≤ 255 chars)Your reference for the Customer.
  • id
    string (≤ 255 chars)Our ID for the Customer that is registered with us.
  • displayName
    string (≤ 255 chars)The Customer's name.
  • email
    string (≤ 255 chars)Email address for the Customer.
  • dob
    string (≤ 255 chars)Date of birth for the Customer.
  • dateOfBirth
    string (date)
  • telephone
    string (≤ 255 chars)Telephone number for the Customer.
  • defaultCurrency
    string (≤ 255 chars)The Customer's default currency.
}
400Invalid installation identifier or merchant reference
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Access denied
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Customer not found
response body:
shared schema advancedPayments/customer-resource
{
  • merchantRef
    string (≤ 255 chars)Your reference for the Customer.
  • id
    string (≤ 255 chars)Our ID for the Customer that is registered with us.
  • displayName
    string (≤ 255 chars)The Customer's name.
  • email
    string (≤ 255 chars)Email address for the Customer.
  • dob
    string (≤ 255 chars)Date of birth for the Customer.
  • dateOfBirth
    string (date)
  • telephone
    string (≤ 255 chars)Telephone number for the Customer.
  • defaultCurrency
    string (≤ 255 chars)The Customer's default currency.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Transaction Reporting

Endpoints for querying transaction data and the fields available to query on

GET/reporting/transactions/metadatareceive transactions metadata#
description:

Retrieve the fields available for reporting, together with the filters that can be applied to each of them.

authorization:HTTP Basic, using your Reporting API user and password
content-type: application/json

Responses

200OK
response body:
{
  • description
    stringDescription of current request
  • version
    stringVersion of current metadata
}
POST/reporting/transactions/searchreceive transactions#
description:

Run a report over your transaction data, returning the requested fields for the transactions that match your filters.

authorization:HTTP Basic, using your Reporting API user and password
content-type: application/json
request body:
{
  • limit
    integerThe number of maximum results returned
  • startFrom
    floatThe start from record number, defaults to the first record number
  • includeFieldNames
    booleanSpecify whether or not to include in the response the returned field names Default value is false If set to "true" in case of search response contains a list named "fieldNames" If set to "true" in case of export column names are present in the downloaded file
  • timezone
    stringPossibility to translate all dates specified on the request and response to a specific timezone offset from the UTC one, for example (+01:00, -01:45) - minimum value: -12:00, maximum value: +14:00 - when timezone set on request: - all values in response are transformed in this timezone - if datetime filter value present 1. when no timezone specified on filter value (which is in ISO format) apply timezone from request on filter value when searching in database E.g.: when "timezone" set to "+02:00" and filter value "2016-07-21T14:19:19" filter value is converted to "2016-07-21T14:19:19+02:00" and results are returned in "+02:00" timezone 2. when timezone present on filter value apply E.g.: when "timezone" set to "+02:00" and filter value "2016-07-21T14:19:19+03:00" filter value is not changed "2016-07-21T14:19:19+03:00" and results are returned in "+02:00" timezone 3. when relative datetime, relative date or relative time, timezone is not applied relative datetime is relative to the moment of the request in UTC E.g.: when "timezone" set to "+02:00" filter value is "[-2d][-5h]" current datetime in UTC is "2016-08-18T14:30:00" filter value is converted to "2016-08-16T09:30:00" and results are returned in "+02:00" timezone - when no timezone set: - values in response are returned in UTC E.g.: when no "timezone" specified on request and filter value "2016-07-21T14:19:19" filter value is converted to "2016-07-21T14:19:19+00:00" and results are returned in UTC(+00:00) timezone E.g.: when no "timezone" specified on request and filter value "2016-07-21T14:19:19-02:00" filter value is not changed "2016-07-21T14:19:19-02:00" and results are returned in UTC(+00:00) timezone
  • outputFormat
    stringPossible values: CSV, XLS, XLSXSpecify export type If not present data is retrieved as JSON
  • outputFileName
    stringPossibility to specify the name of the export file In case of export request and file name not specified it defaults to: "TransactionReport_" + date and UTC time + specific file extension for request output format (.csv, .xls, or .xlsx) When specified the file returned will have "outputFileName" + specific file extension (.csv, .xls, or .xlsx)
}

Responses

200OK
response body:
{
  • status
    stringStatus of the request
  • reasonCode
    stringError code in case of failier
  • reasonMessage
    stringError message in case of failier
  • resultsReturned
    floatNumber of result returned
  • resultsAvailable
    floatNumber of total result available
  • startFrom
    floatResults starting point
  • fieldNames
    array (string items)List of fields to be displayed
  • data
    array (array items)List of list of data equivalent of the fieldNames from the above
}

Endpoints for creating and managing Pay by Link URLs

POST/smartlink/links/{instId}/batch/paymentCreate batch of payment links#
description:

Creates a batch of payment smart links for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}
request body:
shared schema advancedPayments/smart-link-batch-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
  • batchSize
    integer (int32)MandatoryNumber of links to create; between 1 and 500, inclusive
}

Responses

201Created
response body:
shared schema advancedPayments/smart-link-batch-response
{
  • status
    stringReturnedStatus of the request
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{instId}/batch/payoutCreate batch of payout links#
description:

Creates a batch of payout smart links for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}
request body:
shared schema advancedPayments/smart-link-batch-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
  • batchSize
    integer (int32)MandatoryNumber of links to create; between 1 and 500, inclusive
}

Responses

201Created
response body:
shared schema advancedPayments/smart-link-batch-response
{
  • status
    stringReturnedStatus of the request
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{instId}/paymentCreate payment link#
description:

Creates a single payment smart link for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}
request body:
shared schema advancedPayments/smart-link-rest-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
}

Responses

201Created
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{instId}/payoutCreate payout link#
description:

Creates a single payout smart link for the supplied installation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}
request body:
shared schema advancedPayments/smart-link-rest-request
{
  • locale
    stringThe ISO-639 code for your Customer's locale.
}

Responses

201Created
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{linkId}/activateActivate link#
description:

Activates the supplied smart link.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • linkId
    stringMandatoryThe link id to be activated
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200OK
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{linkId}/cancelCancel link#
description:

Cancels the supplied smart link, releasing any hosted session it holds.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • linkId
    stringMandatoryThe link id to be cancelled
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200OK
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
POST/smartlink/links/{linkId}/deactivateDeactivate link#
description:

Deactivates the supplied smart link.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • linkId
    stringMandatoryThe link id to be deactivated
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200OK
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Not Found
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
409Conflict
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
415Unsupported Media Type
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}
500Internal Server Error
response body:
shared schema advancedPayments/smart-link-rest-response
{
  • status
    stringReturnedStatus of the request.
  • reasonCode
    stringReturnedA code that indicates a response message, it can be looked up for trouble shooting.
  • reasonMessage
    stringReturnedA description of the reason code.
}

Schedules

Endpoints for retrieving, updating, and managing recurring payment schedules for an installation

GET/acceptor/rest/schedules/{instId}/{scheduleId}Get a schedule#
description:

Retrieves a schedule and its transaction details for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}

Responses

200Schedule retrieved
response body:
shared schema advancedPayments/schedule-for-transaction
{
  • scheduleId
    stringThe identifier for the schedule
  • transactionId
    stringThe identifier for the original transaction the schedule is attached to
  • status
    stringPossible values: ACTIVE, COMPLETE, CANCELLED, SUSPENDED, TECH_SUSPENDEDcurrent status the schedule.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
GET/acceptor/rest/schedules/{instId}/{scheduleId}/auditGet schedule audit#
description:

Retrieves the audit history for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}

Responses

200Schedule audit records retrieved
response body:
shared schema advancedPayments/schedule-audit-record
[ {
  • scheduleId
    stringThe identifier for the schedule.
  • transactionId
    stringThe identifier for the original transaction the schedule is attached to.
  • date
    string (date-time)
  • status
    stringPossible values: ACTIVE, COMPLETE, CANCELLED, SUSPENDED, TECH_SUSPENDEDThe current status of the schedule.
  • message
    string
} ]
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
POST/acceptor/rest/schedules/{instId}/{scheduleId}/cancelCancel a schedule#
description:

Cancels the specified schedule for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Schedule cancelled
response body:
shared schema advancedPayments/schedule-for-transaction
{
  • scheduleId
    stringThe identifier for the schedule
  • transactionId
    stringThe identifier for the original transaction the schedule is attached to
  • status
    stringPossible values: ACTIVE, COMPLETE, CANCELLED, SUSPENDED, TECH_SUSPENDEDcurrent status the schedule.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
GET/acceptor/rest/schedules/{instId}/{scheduleId}/nextGet the next episode#
description:

Retrieves the next scheduled episode for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}

Responses

200Next schedule episode retrieved
response body:
shared schema advancedPayments/schedule-episode
{
  • dueDate
    string (date)The date the next episode will be processed
  • episodeIndex
    integer (int32)
  • retryIndex
    integer (int32)
  • amount
    floatThe amount that will be processed in the next episode
}
204No next schedule episode available
response body:
shared schema advancedPayments/schedule-episode
{
  • dueDate
    string (date)The date the next episode will be processed
  • episodeIndex
    integer (int32)
  • retryIndex
    integer (int32)
  • amount
    floatThe amount that will be processed in the next episode
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
GET/acceptor/rest/schedules/{instId}/{scheduleId}/next/{count}Get upcoming episodes#
description:

Retrieves the requested number of upcoming schedule episodes for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
  • count
    integer (int32)MandatoryNumber of future schedule episodes to return
}

Responses

200Upcoming schedule episodes retrieved
response body:
shared schema advancedPayments/schedule-episode
[ {
  • dueDate
    string (date)The date the next episode will be processed
  • episodeIndex
    integer (int32)
  • retryIndex
    integer (int32)
  • amount
    floatThe amount that will be processed in the next episode
} ]
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
POST/acceptor/rest/schedules/{instId}/{scheduleId}/resumeResume a schedule#
description:

Resumes the specified schedule for the given installation and optionally catches up missed episodes

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}
query parameters:
{
  • catchUp
    boolean (default false)Whether missed schedule episodes should be caught up when resuming
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Schedule resumed
response body:
shared schema advancedPayments/schedule-for-transaction
{
  • scheduleId
    stringThe identifier for the schedule
  • transactionId
    stringThe identifier for the original transaction the schedule is attached to
  • status
    stringPossible values: ACTIVE, COMPLETE, CANCELLED, SUSPENDED, TECH_SUSPENDEDcurrent status the schedule.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
GET/acceptor/rest/schedules/{instId}/{scheduleId}/scheduleDefinitionGet a schedule definition#
description:

Retrieves the schedule definition for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}

Responses

200Schedule definition retrieved
response body:
shared schema advancedPayments/schedule-definition
{
  • startDate
    string (date)The date the schedule becomes active and, if relevant that epiode calculations start from
  • timeOfDay
    string (time)The time of day that any episodes will be triggered, as HH:mm:ss
  • fixed
    array (date items)ConditionalOne and only one of Fixed, Frequency or Pattern will be present matching what was requested
  • amounts
    array (number items)specific amounts to process in order. If there are less amounts than episodes the final amount will repeat. If no amounts are specified the amount on the original transaction will be used.
  • merchantRef
    stringA merchant defined reference to be added to the repeated repeats triggered by the schedule. If the place-holder {DATE} is included this will be replaced by the date the payment is actually processed in yyyy-MM-dd format. If the place-holder {EPISODE_INDEX} is used this will be replaced with the index of the episode which triggered the transaction.
  • description
    stringA merchant defined description to be added to the repeated repeats triggered by the schedule. If the place-holder {DATE} is included this will be replaced by the date the payment is actually processed in yyyy-MM-dd format. If the place-holder {EPISODE_INDEX} is used this will be replaced with the index of the episode which triggered the transaction.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
PUT/acceptor/rest/schedules/{instId}/{scheduleId}/scheduleDefinitionUpdate a schedule#
description:

Updates the schedule definition for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}
request body:
shared schema advancedPayments/schedule-definition
{
  • startDate
    string (date)The date the schedule becomes active and, if relevant that epiode calculations start from
  • timeOfDay
    string (time)The time of day that any episodes will be triggered, as HH:mm:ss
  • fixed
    array (date items)Conditionalthe dates on which an episode will be triggered. One and only one of Fixed, Frequency or Pattern must be provided
  • amounts
    array (number items)specific amounts to process in order. If there are less amounts than episodes the final amount will repeat. If no amounts are specified the amount on the original transaction will be used.
  • merchantRef
    stringA merchant defined reference to be added to the repeated repeats triggered by the schedule. If the place-holder {DATE} is included this will be replaced by the date the payment is actually processed in yyyy-MM-dd format. If the place-holder {EPISODE_INDEX} is used this will be replaced with the index of the episode which triggered the transaction.
  • description
    stringA merchant defined description to be added to the repeated repeats triggered by the schedule. If the place-holder {DATE} is included this will be replaced by the date the payment is actually processed in yyyy-MM-dd format. If the place-holder {EPISODE_INDEX} is used this will be replaced with the index of the episode which triggered the transaction.
}

Responses

204Schedule updated
400Invalid schedule definition
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
POST/acceptor/rest/schedules/{instId}/{scheduleId}/skipNextSkip the next episode#
description:

Skips the next scheduled episode for the given installation and schedule

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Next schedule episode skipped
response body:
shared schema advancedPayments/schedule-episode
{
  • dueDate
    string (date)The date the next episode will be processed
  • episodeIndex
    integer (int32)
  • retryIndex
    integer (int32)
  • amount
    floatThe amount that will be processed in the next episode
}
204No next schedule episode available to skip
response body:
shared schema advancedPayments/schedule-episode
{
  • dueDate
    string (date)The date the next episode will be processed
  • episodeIndex
    integer (int32)
  • retryIndex
    integer (int32)
  • amount
    floatThe amount that will be processed in the next episode
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
POST/acceptor/rest/schedules/{instId}/{scheduleId}/suspendSuspend a schedule#
description:

Suspends the specified schedule for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryInstallation identifier
  • scheduleId
    stringMandatorySchedule identifier
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Schedule suspended
response body:
shared schema advancedPayments/schedule-for-transaction
{
  • scheduleId
    stringThe identifier for the schedule
  • transactionId
    stringThe identifier for the original transaction the schedule is attached to
  • status
    stringPossible values: ACTIVE, COMPLETE, CANCELLED, SUSPENDED, TECH_SUSPENDEDcurrent status the schedule.
}
400Bad Request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Schedule not found
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}
500Scheduler error
response body:
shared schema advancedPayments/outcome-response-detail
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors. In the case of a decline this message can be very general. There can be useful guidance to the cause of the decline in processing.authResponse.gatewayMessage.
}

CardLock

Endpoint for exchanging card details for a single-use token

POST/cardlock/createTokenTokenise Card Details#
description:

Exchange customer-entered card details for a single-use CardLock token, which can then be presented to the payments API in place of the card number. The request and response payloads are JSON encoded objects.

authorization:Your publishable ID, supplied in the request body
content-type: application/json
request body:
{
  • publishableId
    stringMandatoryPublishable ID, as issued to you by Access PaySuite. This must be associated with the Access PaySuite account you intend to process the subsequent transaction on. For example, Ihudyi6xTomATGMa5bluhQ.
  • pan
    stringMandatoryCard number: 13 through 19 digits (inclusive) (0 through 9, no spaces). For example, 9900000000005159.
  • cvv
    stringCVV2/CVC2/CID: 3 or 4 digits (0 through 9, no spaces). For example, 456.
}

Responses

200OK
response body:
{
  • status
    stringReturnedStatus code: letter, two digits. See Response Codes and Messages — CardLock . For example, S00.
  • message
    stringReturnedStatus message: text message. For example, OK.
  • token
    stringCardLock token: alphanumeric. For example, TT_2gBBl8mbS_WIbfHuFgcSAg.
}
400Bad request — PAN, CVV or publishable id rejected
response body:
{
  • status
    stringReturnedThe failure code, for example V01 for a missing PAN or V03 for an invalid CVV. See Response Codes and Messages — CardLock.
  • message
    stringReturnedText describing the failure.
}
500Internal Server Error
response body:
{
  • status
    stringReturnedE00 when the service is unavailable, E01 for any other internal failure.
  • message
    stringReturnedText describing the failure.
}

Hosted skin management

Endpoints for managing hosted-flow skins

POST/hosted/rest/skins/{instId}/createCreate skin for installation#
description:

Uploads a new skin and assigns it under the installation owner organisation.

authorization:HTTP Basic
content-type: application/zip
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}
query parameters:
{
  • name
    stringMandatoryThe name of the skin, max 255 characters
  • description
    stringAn optional description for the skin, max 255 characters
  • reviewer
    stringWho reviewed the skin
  • reviewReference
    stringThe reference of the ticket the skin was reviewed in
}
request body:

The skin zip file is the body of the request

Responses

201Created
response body:
shared schema advancedPayments/skin-details-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin upload
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
GET/hosted/rest/skins/{instId}/listList skins#
description:

Lists available skins for the installation owner organisation.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    integer (int64)MandatoryThe installation id
}

Responses

200OK
response body:
shared schema advancedPayments/skin-list-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin upload
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
DELETE/hosted/rest/skins/{skinId}Delete skin#
description:

Deletes the supplied skin id.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • skinId
    integer (int64)MandatoryThe skin id
}

Responses

200OK
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
GET/hosted/rest/skins/{skinId}Download skin#
description:

Downloads the zipped skin bundle for the supplied skin id.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • skinId
    integer (int64)MandatoryThe skin id
}

Responses

200OK
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
PUT/hosted/rest/skins/{skinId}Update skin#
description:

Updates skin metadata and optionally replaces the zip payload.

authorization:HTTP Basic
content-type: application/zip
path parameters:
{
  • skinId
    integer (int64)MandatoryThe skin id
}
query parameters:
{
  • name
    stringan optional new name for the skin, max 255 characters
  • description
    stringAn optional new description for the skin, max 255 characters
  • reviewer
    stringWho reviewed the skin
  • reviewReference
    stringThe reference of the ticket the skin was reviewed in
}
request body:

The skin zip file is the body of the request

Responses

200OK
response body:
shared schema advancedPayments/skin-details-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin upload
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
POST/hosted/rest/skins/{skinId}/flushFlush skin cache#
description:

Clears the cached skin and related SRI hash for the supplied skin id.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • skinId
    integer (int64)MandatoryThe skin id
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200OK
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
POST/hosted/rest/skins/org/{orgId}/createCreate skin for organisation#
description:

Uploads a new skin directly under the supplied organisation id.

authorization:HTTP Basic
content-type: application/zip
path parameters:
{
  • orgId
    integer (int64)MandatoryThe organisation id
}
query parameters:
{
  • name
    stringMandatoryThe name of the skin, max 255 characters
  • description
    stringAn optional description for the skin, max 255 characters
  • reviewer
    stringWho reviewed the skin
  • reviewReference
    stringThe reference of the ticket the skin was reviewed in
}
request body:

The skin zip file is the body of the request

Responses

201Created
response body:
shared schema advancedPayments/skin-details-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin upload
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
400Bad Request
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
404Not Found
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}
500Internal Server Error
response body:
shared schema advancedPayments/skin-response
{
  • status
    stringPossible values: SUCCESS, FAILEDThe status of the skin deletion
  • code
    stringPossible values: S100, V100, V101, V102, V104, V105, V201, V202, E500A code indicating the outcome, refer to 'message' for more information
  • message
    stringA message indicating the outcome, this is where we'll provide detailed reasons of any errors
  • outcome
    string (write-only)Possible values: S100, V100, V101, V102, V104, V105, V201, V202, E500
}

Apple Pay

Endpoints for validating Apple Pay merchants and managing Apple Pay key and certificate material

POST/acceptor/rest/applepay/{instId}/identityCertUpload a signed Apple Pay identity certificate#
description:

Uploads an Apple Pay processing or identity certificate for the given installation

authorization:HTTP Basic
content-type: application/pkix-cert
path parameters:
{
  • instId
    stringMandatoryThe installation id
}
query parameters:
{
  • shared
    booleanManage the certificate for the whole group company, so that it is shared between the merchants under a shared Apple Pay developer account.
}
request body:

The raw certificate file

Responses

200Certificate uploaded
400Invalid certificate upload request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to manage Apple Pay keys
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/applepay/{instId}/identityCsrCreate identity CSR#
description:

Generates a new Apple Pay identity certificate signing request for the given installation

authorization:HTTP Basic
content-type: Not applicable (empty request body)
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
query parameters:
{
  • shared
    booleanManage the certificate for the whole group company, so that it is shared between the merchants under a shared Apple Pay developer account.
}
request body:

Send no request body.

Responses

200Identity CSR returned
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to manage Apple Pay keys
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/applepay/{instId}/processingCertUpload a signed Apple Pay processing certificate#
description:

Uploads an Apple Pay processing or identity certificate for the given installation

authorization:HTTP Basic
content-type: application/pkix-cert
path parameters:
{
  • instId
    stringMandatoryThe installation id
}
query parameters:
{
  • shared
    booleanManage the certificate for the whole group company, so that it is shared between the merchants under a shared Apple Pay developer account.
}
request body:

The raw certificate file

Responses

200Certificate uploaded
400Invalid certificate upload request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to manage Apple Pay keys
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/applepay/{instId}/processingCsrCreate processing CSR#
description:

Generates a new Apple Pay processing certificate signing request for the given installation

authorization:HTTP Basic
content-type: Not applicable (empty request body)
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
query parameters:
{
  • shared
    booleanManage the certificate for the whole group company, so that it is shared between the merchants under a shared Apple Pay developer account.
}
request body:

Send no request body.

Responses

200Processing CSR returned
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to manage Apple Pay keys
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/applepay/{instId}/uploadApplePayCertUpload a certificate#
description:

Uploads an Apple Pay processing or identity certificate for the given installation

authorization:HTTP Basic
content-type: application/pkix-cert
path parameters:
{
  • instId
    stringMandatoryThe installation id
}
query parameters:
{
  • shared
    booleanManage the certificate for the whole group company, so that it is shared between the merchants under a shared Apple Pay developer account.
}
request body:

The raw certificate file

Responses

200Certificate uploaded
400Invalid certificate upload request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to manage Apple Pay keys
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/applepay/{instId}/validate/{applePayMerchantIdentifier}Validate a merchant#
description:

Validates an Apple Pay merchant session for the given installation and merchant identifier

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • applePayMerchantIdentifier
    stringMandatoryConfigured Apple Pay merchant identifier
}
query parameters:
{
  • validationURL
    stringMandatoryThe validation URL will be provided to you when you create an Apple Pay session
  • siteDomain
    stringThe domain of the website on which the Apple Pay button is being displayed
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Merchant validated
400Invalid Apple Pay validation request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Not authorised to validate Apple Pay for the installation
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

PayPal One Touch

Endpoints used by the PayPal One Touch flow to create, resume, and cancel PayPal-backed transactions

POST/acceptor/rest/paypal/transactions/{instId}/{transactionId}/authorizeResume a payment#
description:

Resumes a previously created PayPal One Touch payment transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the PayPal One Touch transaction to resume
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Payment resumed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Transaction not found
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/paypal/transactions/{instId}/{transactionId}/cancelCancel a payment#
description:

Cancels a previously created PayPal One Touch payment transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • transactionId
    stringMandatoryIdentifier of the PayPal One Touch transaction to cancel
}
request body:

{} — This call takes no request body — send an empty JSON object.

Responses

200Payment cancelled
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Transaction not found
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/acceptor/rest/paypal/transactions/{instId}/paymentProcess a payment#
description:

Creates a PayPal One Touch payment transaction for the given installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
}
request body:
shared schema advancedPayments/primary-manage-rest-request
{
  • sessionId
    stringYour reference for the Customer's session.
  • locale
    stringThe ISO-639-1 code for your Customer's locale.
}

Responses

200Payment processed
response body:
shared schema advancedPayments/transaction-response-resource
{
  • any
    array (object items)
  • trace
    string
}
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Visa Checkout

Endpoints for retrieving Visa Checkout payment data needed before processing a transaction

GET/acceptor/rest/visacheckout/{instId}/getPaymentData/{callId}Get payment data#
description:

Once your customer has completed the Visa Checkout journey on your payment page, this service retrieves some basic information about the card they selected, should you want to display it to them before they confirm the transaction. Pass the "Call ID" that Visa Checkout sent you via their JavaScript API. The response is the data from Visa Checkout verbatim, and as such it is subject to change without notification from us.

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier
  • callId
    stringMandatoryVisa Checkout call identifier
}

Responses

200Payment data returnedData from Visa Checkout verbatim
400Invalid request
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Visa Checkout configuration not found
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}

Card Information

Endpoints for retrieving card information using a PAN or card lock token

POST/acceptor/rest/cardinfo/{instId}Find card information by PAN#
description:

Validates the submitted PAN and returns card information for the specified installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier for the merchant
}
request body:
shared schema advancedPayments/card-info-request
{
  • pan
    stringMandatoryThe full PAN to check. Must be 13 to 19 digits.
}

Responses

200Card information retrieved
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will provide detailed information about any errors.
}
400PAN or installation is invalid
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Card information service is not available for the merchant
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will provide detailed information about any errors.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
GET/acceptor/rest/cardinfo/{instId}/{cardLockToken}Find card information by card lock token#
description:

Validates the submitted card lock token and returns card information for the specified installation

authorization:HTTP Basic
content-type: application/json
path parameters:
{
  • instId
    stringMandatoryInstallation identifier for the merchant
  • cardLockToken
    stringMandatoryCard lock token used to look up the stored card information
}

Responses

200Card information retrieved
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will provide detailed information about any errors.
}
400Card lock token or installation is invalid
response body:
shared schema advancedPayments/validation-failure-outcome
{
  • status
    stringReturnedPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    string (≤ 255 chars)ReturnedA code indicating the overall outcome of the request. Refer to Errors for more information.
  • reasonMessage
    string (≤ 255 chars)ReturnedA message indicating the overall outcome of the request. This is where we'll provide detailed reasons for any errors.
}
401Unauthorized
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
403Forbidden
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
404Card information service is not available for the merchant
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will provide detailed information about any errors.
}
500Internal Server Error
response body:
shared schema advancedPayments/error-response
{
  • status
    string
  • error
    string
  • message
    string
  • path
    string
  • timestamp
    string (date-time)
}
POST/cardinfo/getCardInfoget card information mobile request#
description:

Look up what is known about a card from its number or a prefix of it. Called directly from your app, using the client access token your server obtained.

authorization:Bearer, using the client access token
content-type: application/json
request body:
shared schema advancedPayments/card-info-request
{
  • pan
    stringMandatory
}

Responses

200OK
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will provide detailed information about any errors.
}
400Bad request — PAN missing or not a valid prefix
response body:
shared schema advancedPayments/card-info-response
{
  • cardType
    stringIf known, the type (or 'brand') of card, e.g. 'VISA_DEBIT', 'MC_CREDIT'… If unknown, not present. See Reference Data Values .
  • cardUsageType
    stringIf known, the usage type, 'DEBIT' or 'CREDIT'. If unknown, not present. See Reference Data Values .
  • cardScheme
    stringIf known, the card scheme, e.g. 'VISA', 'MASTERCARD'… If unknown, not present. See Reference Data Values .
  • cardCategory
    stringIf known, the category of card, e.g. 'CREDIT', 'DEBIT', 'CORPORATE', 'BUSINESS'… If unknown, not present. See Reference Data Values .
  • issuer
    stringIf known, the name of issuing bank, e.g. 'DATACASH'. Note that these names are not normalized to any authoritative data source. If unknown, not present.
  • issuerCountry
    stringIf known, the ISO_3166-1 Alpha country code of the issuing bank, e.g. 'GBR', 'DEU'… If unknown, not present.
  • moreData
    booleanIndicates whether the service might return more data if supplied with more digits based on the submitted prefix. Only defined if valid is true.
  • valid
    booleanIndicates whether the submitted digits are a valid prefix, that is, there are PANs that start with those digits.
  • status
    stringPossible values: SUCCESS, FAILED, PROCESSINGThe overall outcome of the request.
  • reasonCode
    stringFurther information about the status. 'S00' means success.
  • reasonMessage
    stringFurther information about the status. This is where we will