action bulksms_post_credit_transfer { label: "Transfer credits to another account" description: "Before you can use the transfer credits endpoint, the _credit-transfer facility_ must be activated for your account. You can request activation from `support@bulksms.com`. \n\nThe recipient must be an enabled account that uses the same currency as your account.\n" provider: bulksms method: POST path: "/credit/transfer" encoding: json input: { type: "object" required: ["credits", "toUserId", "toUsername"] properties: { commentOnFrom: { type: "string" description: "An optional note that will be shown on the credit history of your account.\nThe maximum length of the comment is 100.\n" } commentOnTo: { type: "string" description: "An optional note that will be shown on the credit history of the recipient's account.\nThe maximum length of the comment is 100.\n" } credits: { type: "number" description: "The amount of credits to transfer.\n" } toUserId: { type: "number" description: "The numeric user ID of the account that will receive the credits.\nThe ID must match the username.\n" } toUsername: { type: "string" description: "The username of the account that will receive the credits.\n" } } } output: { type: "object" additionalProperties: true } }