Data types

Decimal

For all decimals used, the decimal separator must be a period (.)

Guid

A 38 characters long globally unique identifier.

GuaranteeOffered

Must be one of the following values:

  • OPTIONAL
  • REQUIRED
  • NO

FeesPayer

Must be one of the following values:

  • SENDER
  • PRIMARYRECEIVER

FundingConstraint

Must each be one of the following values:

  • CREDITCARD
  • BANK
  • INVOICE

CurrencyCode

Must be one of the following values:

  • SEK
  • EUR

LocaleCode

Must be one of the following values:

  • SV
  • EN
  • FI
  • DK
  • NO

AckCode

One of the following values:

  • SUCCESS
  • FAILURE

PaymentStatus

Please note that for Invoice and Guarantee payments the corresponding statuses (InvoiceStatus and GuaranteeStatus) should be prioritized. Can be one of the following values:

  • CREATED – The payment request was received and has been created in Payson’s system. Funds will be transferred once approval is received.
  • PENDING – The sender has a pending transaction. A guarantee payment in progress has status pending. Please check guaranteeStatus for further details.
  • PROCESSING – The payment is in progress, check again later.
  • COMPLETED – The sender’s transaction has completed.
  • CREDITED – The sender’s transaction has been credited.
  • INCOMPLETE – Obsolete, this status is not used anymore. Some transfers succeeded and some failed for a parallel payment.
  • ERROR – The payment failed and all attempted transfers failed or all completed transfers were successfully reversed.
  • REVERSALERROR – One or more transfers failed when attempting to reverse a payment.
  • ABORTED – The payment was aborted before any money were transferred.

PaymentType

Can be one of the following values:

  • TRANSFER – This payment is a Payson Direct payment.
  • GUARANTEE – This is a Payson Guarantee payment.
  • INVOICE – This is a Payson Invoice payment.

GuaranteeStatus

It can be one of the following values:

  • WAITINGFORSEND
  • WAITINGFORACCEPTANCE
  • WAITINGFORRETURN
  • WAITINGFORRETURNACCEPTANCE
  • RETURNNOTACCEPTED
  • NOTRECEIVED
  • RETURNNOTRECEIVED
  • MONEYRETURNEDTOSENDER
  • RETURNACCEPTED

InvoiceStatus

It can be one of the following values:

  • PENDING – The invoice is not created yet. Please note that this does not mean that an invoice will be approved, this is only a temporary status until the transaction is settled.
  • ORDERCREATED – The customer was accepted for invoice purchase and an order has been created.
  • CANCELED – The order was canceled by the customer.
  • SHIPPED – The order has been converted to an invoice.
  • DONE – The money has been transferred to the receiver’s Payson account.
  • CREDITED – The sender’s transaction has been credited.
  • DENIED – No invoice was created.

UpdateAction

Must be one of the following values:

  • CANCELORDER
  • SHIPORDER
  • CREDITORDER
  • REFUND
  • CANCELPAYMENT