Skip to main content
POST
/
payment-transfers
/
rtp
JavaScript
import Fiatwebservices from 'fiatwebservices';

const client = new Fiatwebservices({
  apiKey: process.env['FWS_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const rtp = await client.transfer.rtp.create({ message: '<xml/>' });

  console.log(rtp.id);
}

main();
{
  "id": "019545cd-c9d1-797d-b2e8-e704c3109311",
  "organizationId": "019545cd-c9d1-797d-b2e8-e704c3109311",
  "createdAt": "2025-02-27",
  "direction": "credit",
  "messageId": "1234",
  "type": "sepa",
  "initiatingPartyId": "019545cd-c9d1-797d-b2e8-e704c3109311",
  "creationDate": "2025-02-27",
  "categoryPurposeCode": "1234",
  "paymentInformationId": "1234"
}

Body

application/json
message
string
required
Example:

Response

id
string
required
Example:
organizationId
string
required
Example:
createdAt
string
required
Example:
direction
enum<string>
required
Available options:
debit,
credit
Example:
type
enum<string>
required
Available options:
swift,
sepa,
ach,
rtp
Example:
initiatingPartyId
string
required
Example:
messageId
string | null
Example:
creationDate
string | null
Example:
categoryPurposeCode
string | null
Example:
paymentInformationId
string | null
Example: