Requests And Response Types

Decimal

Decimal 123.45 equals to unscaled=12345 and exponent=-2 (e.g. unscaled * 10^exponent, 123.45 = 12345 * 10^-2)

FieldTypeLabelDescription
unscaledint64
exponentint32

Blockchain

NameNumberDescription
BLOCKCHAIN_UNSPECIFIED0
BLOCKCHAIN_BSC10
BLOCKCHAIN_TRON100

Stablecoin

NameNumberDescription
STABLECOIN_UNSPECIFIED0
STABLECOIN_USDT10

PaymentMethod

FieldTypeLabelDescription
sepaSepaPaymentMethod
swiftSwiftPaymentMethod
stablecoinStablecoinPaymentMethod

SepaPaymentMethod

FieldTypeLabelDescription
ibanstring
beneficiary_namestring
payment_referencestring

StablecoinPaymentMethod

FieldTypeLabelDescription
blockchainBlockchain
stablecoinStablecoin
addressstring

SwiftPaymentMethod

This message has no fields defined.

PaymentMethodType

NameNumberDescription
PAYMENT_METHOD_TYPE_UNSPECIFIED0
PAYMENT_METHOD_TYPE_SEPA10
PAYMENT_METHOD_TYPE_SWIFT20
PAYMENT_METHOD_TYPE_CARD30only pay in
PAYMENT_METHOD_TYPE_STABLECOIN40only pay out

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)