Payments

Initiate a payment for a specific payment request with selected bank

Initiate a payment for a specific payment request with selected bank

post/api/v1/payment-initiation/{paymentRequestId}

Path parameters

paymentRequestIdstring uuid required

The unique identifier of the payment request

Example:123e4567-e89b-12d3-a456-426614174000

The unique identifier of the payment request

Request body

OR

Example request

{
  "bankId": "123e4567-e89b-12d3-a456-426614174000"
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "order_id": "123"
  }
}

Changes

Changed in 3 of the 8 revisions of this API.334

  • b372e7d5563d233See the full diff
    • the request's body type/format changed from object/ to /

      request-body-type-changed

    • the error/code response's property type/format changed from string/ to / for status 400

      response-property-type-changed

    • removed the request property bankId

      request-property-removed

    • removed the request property paymentScheme

      request-property-removed

    • removed the optional property error/errors from the response with the 400 status

      response-optional-property-removed

    • added subschema #1 subschema #2 to the request body anyOf list

      request-body-any-of-added

    • added the optional property error/metadata to the response with the 400 status

      response-optional-property-added

    • added subschema #1 subschema #2 to the error/code response property allOf list for the response status 400

      response-property-all-of-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 367 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog