Payments

get
/v1/profiles/{profileId}/payments

Returns a paged list of all the payments

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

Responses
get
/v1/profiles/{profileId}/payments
200

OK

post
/v1/profiles/{profileId}/payments

Creates a payment flow.

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

Body
referencestringOptional

Your internal reference, we index this reference for you to search later, not required to use. We also use this for idempotency

Example: b5c9d214-f408-4215-990e-f892c24a6080
methodstring · enumRequired

Payment method type ID

Example: openbankingPossible values:
descriptionstringRequiredExample: Description of the payment shown to the PSU
currencystring · enumRequired

ISO 3166-1 alpha-2 currency code

Example: EURPossible values:
customerstringOptional

ID of the customer that is paying

creditcardone ofOptional
payment_methodstringOptional

Payment method to be used for execution of this payment, this payment method must be one of the payment methods of the customer, required when customer is set.

amountnumberRequired

Amount of the payment in cents of the currency

Example: 8230
metadataobjectOptional

Free form key/ value pair

Example: {"key1":123,"customer_id":"123object","internal_reference":"X938378B01","debited":true}
Responses
post
/v1/profiles/{profileId}/payments
get
/v1/profiles/{profileId}/payments/{paymentId}

Returns the status of the payment, and payment data

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

paymentIdstringRequired

The id of the payment

Responses
get
/v1/profiles/{profileId}/payments/{paymentId}
delete
/v1/profiles/{profileId}/payments/{paymentId}

Cancels a payment flow, or initaited payment, whenever possible.

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

paymentIdstringRequired

The id of the payment

Responses
delete
/v1/profiles/{profileId}/payments/{paymentId}

Was this helpful?